Commit Graph

22099 Commits

Author SHA1 Message Date
Zack Weinberg
b89d20aa3c rtl.texi: Document the rtl classes and their relation to formats.
1999-04-26 09:47 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* rtl.texi: Document the rtl classes and their relation to
	formats.

From-SVN: r26641
1999-04-26 06:48:57 +00:00
Loren J. Rittle
3af5b6b508 freebsd.ml (LIBS): Add ARLINK.
* config/freebsd.ml (LIBS): Add ARLINK.
        * config/openbsd.ml (LIBS): Add ARLINK.

From-SVN: r26640
1999-04-25 19:30:37 -06:00
Richard Henderson
be5090b095 alpha.md (fix_trunc patterns): Use reg_no_subreg_operand on op0 for less work in reload.
* alpha.md (fix_trunc patterns): Use reg_no_subreg_operand on op0
        for less work in reload.
        (movsf and movdf patterns): Put fp reg alternatives first.

From-SVN: r26639
1999-04-25 18:05:13 -07:00
Marc Espie
766518a01a configure.in (openbsd): Factorize xmake_file.
* configure.in (openbsd): Factorize xmake_file.
        (ix86 openbsd): Trim obsolete comment.
        (vax openbsd): Fix typo.
        * configure: Rebuilt.

From-SVN: r26638
1999-04-25 19:01:40 -06:00
Jerry Quinn
ea3bfbfe67 pa.h (architecture_type): New enum.
* pa.h (architecture_type): New enum.
        (pa_arch_string, pa_arch): Declare.
        (MASK_PA_10, MASK_PA_20): New flags.
        (TARGET_SWITCHES): Add pa-risc-2-0.  Update docs for PA1.0 codegen.
        (TARGET_OPTIONS): Add -march= option.
        * pa.c (pa_arch, pa_arch_string):  Define.
        (override_options):  Set them.
        * pa/pa-hpux10.h (ASM_FILE_START):  Output LEVEL 2.0 asm directive for
        2.0 architecture.
        * invoke.texi (Option Summary, HPPA Options):  Document new
        architecture flags.

From-SVN: r26637
1999-04-25 18:54:50 -06:00
Jeff Law
d9464cb0eb Daily bump.
From-SVN: r26636
1999-04-25 18:45:03 -06:00
Donn Terry
7dd8861714 configure.in (alloca detection): Handle alloca directly for interix.
* configure.in (alloca detection): Handle alloca directly for interix.
        * configure: Rebuilt.

From-SVN: r26635
1999-04-25 18:40:51 -06:00
Donn Terry
ab40f61225 * expr.c (expand_assignment): Improve test for pointer type.
From-SVN: r26634
1999-04-25 18:39:01 -06:00
Richard Henderson
e03ec28f6e * alpha.c (print_operand_address): Account for the subreg word.
From-SVN: r26633
1999-04-25 17:27:17 -07:00
Toshiyasu Morita
07444f1d90 fold-const.c (make_range): Always initialize arg0 and arg1.
* fold-const.c (make_range): Always initialize arg0 and arg1.
        (fold): Simlarly for alt0 and alt1.
        * function.c (fixup_var_refs_insns): Initialize insn_list.
        (instantiate_virtual_regs_1): Initialize offset.
        * optabs.c (expand_binop): Initialize carry_in, carry_out, op0_xhigh
        and op1_xhigh.
        * stmt.c (expand_end_case): Initialize minval and maxval.

From-SVN: r26632
1999-04-25 18:15:54 -06:00
Nathan Sidwell
c1709d0c7a toplev.c (report_error_function): Reorder file stack and function name printing.
* toplev.c (report_error_function): Reorder file stack and
        function name printing.  Ignore FILE parameter.

From-SVN: r26631
1999-04-25 18:07:58 -06:00
Jerry Quinn
13ee407e02 pa-hpux.h, [...]: Replace TARGET_SNAKE by TARGET_PA_11 and MASK_SNAKE by MASK_PA_11.
* pa/pa-hpux.h, pa/pa-hpux10.h, pa/pa-hpux9.h, pa/pa-osf.h, pa.h,
        pa.c, pa.md, configure.in, configure: Replace TARGET_SNAKE by
        TARGET_PA_11 and MASK_SNAKE by MASK_PA_11.

From-SVN: r26630
1999-04-25 18:04:54 -06:00
Theodore Papadopoulo
f9e814f100 flags.h (inline_max_insns): Declare.
* flags.h (inline_max_insns): Declare.
        * integrate.c (inline_max_insns): New variable.
        (function_cannot_inline_p): Use it.
        * toplev.c (main): Add the flag -finline-limit-n.
        (display_help): Document -finline-limit-n.
        * invoke.texi: Document -finline-limit-n

From-SVN: r26629
1999-04-25 17:35:15 -06:00
Richard Henderson
947255ed5a * stmt.c (expand_asm_operands): Reload in-out reg-only memory operands.
From-SVN: r26628
1999-04-25 16:06:36 -07:00
Craig Burley
7e4e2d26dc update NEWS derived file
From-SVN: r26627
1999-04-25 15:42:04 -04:00
Craig Burley
8f00eff749 doc fix
From-SVN: r26626
1999-04-25 15:39:22 -04:00
Craig Burley
d6cd84e036 fix assignment to partially-overlapped COMPLEX
From-SVN: r26625
1999-04-25 14:01:35 -04:00
Richard Henderson
4433e33948 function.c (assign_parms/STACK_BYTES): Revert last change, and that of 19 Nov.
* function.c (assign_parms/STACK_BYTES): Revert last change,
        and that of 19 Nov.

From-SVN: r26624
1999-04-25 06:09:33 -07:00
Richard Henderson
fb5eebb932 calls.c (emit_call_1): New arg rounded_stack_size; update callers.
* calls.c (emit_call_1): New arg rounded_stack_size; update callers.
        Update pending_stack_adjust based on this value.
        (compute_argument_block_size): Include pending_stack_adjust in
        PREFERRED_STACK_BOUNDARY alignment.
        * function.c (assign_parms): Don't round to PREFERRED_STACK_BOUNDARY.

From-SVN: r26623
1999-04-25 05:31:52 -07:00
Richard Henderson
ed856f4c70 * gcc.dg/990424-1.c: New test.
From-SVN: r26622
1999-04-25 05:29:35 -07:00
John Wehle
10195bd88e stupid.c (stupid_mark_refs): Generate a REG_UNUSED note for a register which is clobbered even if...
* stupid.c (stupid_mark_refs): Generate a REG_UNUSED note
	for a register which is clobbered even if the register
	was used by an earlier instruction.
	* i386.md (fix_truncsfdi2, fix_truncdfdi2,
	fix_truncxfdi2): Don't bother with the gen_reg_RTX.
	(fix_truncsfsi2, fix_truncsfdi2, fix_truncdfsi2,
	fix_truncdfdi2, fix_truncxfsi2, fix_truncxfdi2): Update
	operand constraints and modes.
	* i386.c (output_fix_trunc): Use HImode register to avoid
	memory stalls.  Call output_move_double instead of output_to_reg.
	(output_to_reg): Remove.
	* i386.h: Likewise.
	* i386.md (negsf2, negdf2, negxf2): Set the type
	attribute to fpop.

From-SVN: r26621
1999-04-25 11:43:49 +00:00
Jeff Law
f41eba1d05 Daily bump.
From-SVN: r26620
1999-04-24 18:45:02 -06:00
Mumit Khan
7a1528bc63 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
From-SVN: r26619
1999-04-24 18:23:06 -06:00
Mumit Khan
7af06410ba Makefile.in (CC1OBJ): Define in terms of CC.
* Makefile.in (CC1OBJ): Define in terms of CC.
        (runtime-info.h): Use.

From-SVN: r26618
1999-04-24 18:21:51 -06:00
Donn Terry
5b9ba539e6 * alpha.md (call_value_nt): Correct subscripts.
From-SVN: r26617
1999-04-24 16:16:46 -07:00
Richard Henderson
714b019cee alpha.h (PRINT_OPERAND_ADDRESS): Break out to ...
* alpha.h (PRINT_OPERAND_ADDRESS): Break out to ...
        * alpha.c (print_operand_address): here.  Handle subregs.

From-SVN: r26616
1999-04-24 13:50:46 -07:00
Craig Burley
4d9a07db88 turn LSTAT/STAT checking back on
From-SVN: r26615
1999-04-24 06:08:34 -04:00
Craig Burley
f658f69524 forgot to update news.texi
From-SVN: r26614
1999-04-24 05:29:46 -04:00
Craig Burley
81c5baa0b3 fix INTEGER*2 in DATA implied-DO
From-SVN: r26613
1999-04-24 05:24:13 -04:00
Craig Burley
29df97144a fix typos
From-SVN: r26612
1999-04-24 05:19:48 -04:00
Craig Burley
a757bf811c have ChangeLog entries default to current-time-string as per gcc/, gcc/f/
From-SVN: r26611
1999-04-24 04:14:33 -04:00
Craig Burley
ec5e633a08 revert Sat Apr 17 patch
From-SVN: r26610
1999-04-24 04:10:00 -04:00
Jeff Law
ab573ed223 Daily bump.
From-SVN: r26609
1999-04-23 18:45:02 -06:00
John Wehle
53b5ce195c acconfig.h (HAVE_GAS_FILDS_FISTS): Add.
* acconfig.h (HAVE_GAS_FILDS_FISTS): Add.
	* configure.in: Check assembler instructions.
	* configure: Rebuild.
	* config.in: Likewise.
	* i386.md (floathisf2, floathidf2, floathixf2): New patterns.
	* i386.c (print_operand): Use the proper suffix for a 387 HImode
	operand.  Abort if a 387 operand has an unsupported size.

From-SVN: r26608
1999-04-23 19:41:03 +00:00
Richard Henderson
4c020733f4 alpha.c (alpha_write_verstamp): Mark `file' unused.
* alpha.c (alpha_write_verstamp): Mark `file' unused.
        * alpha.h (FUNCTION_VALUE): Use gen_rtx_REG not gen_rtx.
        (LIBCALL_VALUE): Likewise.
        (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Handle normal subregs.

From-SVN: r26607
1999-04-23 09:58:24 -07:00
Mark Mitchell
4cb02ea162 decl2.c (finish_file): Tweak handling of extern inlines so that they are not unnecessarily put out.
* decl2.c (finish_file): Tweak handling of extern inlines so that
	they are not unnecessarily put out.

From-SVN: r26606
1999-04-23 16:58:01 +00:00
Warren Levy
12571b1f96 Makefile.am: Added URLDecoder and URLEncoder.
* Makefile.am: Added URLDecoder and URLEncoder.
	* Makefile.in: Rebuilt.
	* java/net/ServerSocket.java (setSocketFactory): Renamed from
	setSocketImplFactory to match spec.
	* java/net/Socket.java (getSoLinger): Changed return type to
	match spec.
	* java/net/URLDecoder.java: New file.
	* java/net/URLEncoder.java: New file.

From-SVN: r26605
1999-04-23 16:36:22 +00:00
Donn Terry
d2692ef86e alpha.c (alpha_initialize_trampoline): Add covert_memory_address calls as needed.
* alpha.c (alpha_initialize_trampoline): Add covert_memory_address
        calls as needed.

From-SVN: r26604
1999-04-23 08:04:07 -07:00
Donn Terry
98283b4208 * alpha32.h (INITIALIZE_TRAMPOLINE): Get offsets right.
From-SVN: r26603
1999-04-23 07:58:10 -07:00
Richard Henderson
14eecd34f5 alpha.c (alpha_expand_prologue): Don't negate frame size for use with subq.
* alpha.c (alpha_expand_prologue): Don't negate frame size
        for use with subq.

From-SVN: r26602
1999-04-23 07:39:42 -07:00
Mark Mitchell
d2675b98f5 search.c (is_subobject_of_p): Handle TEMPLATE_TYPE_PARMs and such as base classes.
* search.c (is_subobject_of_p): Handle TEMPLATE_TYPE_PARMs and
	such as base classes.

From-SVN: r26601
1999-04-23 10:16:21 +00:00
Nick Clifton
75c437de06 Display LABEL_NUSES when printing a code label
From-SVN: r26600
1999-04-23 09:44:28 +00:00
Nathan Sidwell
7817b2b327 Add Nathan Sidwell (write after approval)
From-SVN: r26599
1999-04-23 04:41:38 +00:00
Jeff Law
f5abca84ff Daily bump.
From-SVN: r26598
1999-04-22 18:45:02 -06:00
Brendan Kehoe
7bc2e33726 tree.c (build_exception_variant): Fix typo: use the chain of U, not trying V, while cycling through U.
* tree.c (build_exception_variant): Fix typo: use the chain of U,
	not trying V, while cycling through U.

From-SVN: r26597
1999-04-22 19:33:15 -04:00
Craig Burley
07ead0e890 update NEWS derived file
From-SVN: r26596
1999-04-22 19:15:41 -04:00
Craig Burley
3880e74583 doc cleanup vis-a-vis f2c
From-SVN: r26595
1999-04-22 19:14:03 -04:00
Mark Mitchell
0aafb128c0 cp-tree.h (lang_decl_flags): Remove returns_first_arg and preserves_first_arg.
* cp-tree.h (lang_decl_flags): Remove returns_first_arg and
	preserves_first_arg.  Enlarge dummy accordingly.
	(DECL_TINFO_FN_P): New macro.
	(SET_DECL_TINO_FN_P): Likeiwse.
	(DECL_RETURNS_FIRST_ARG): Remove.
	(DECL_PRESERVES_THIS): Likewise.
	(DECL_INIT_PRIORITY): New macro.
	(finish_struct_1): Change prototype.
	(cat_namespace_levels): Remove prototype.
	(vtable_decl_p): New prototype.
	(vtype_decl_p): Likewise.
	(sigtable_decl_p): Likewise.
	(walk_globals_pred): New typedef.
	(walk_globals_fn): Likewise.
	(walk_globals): New prototype.
	(walk_namespaces_fn): New typedef.
	(walk_namespaces): New prototype.
	(wrapup_globals_for_namespace): Likewise.
	(walk_vtables): Remove prototype.
	(walk_sigtables): Likewise.
	(instantiate_pending_templates): New prototype.
	* class.c (finish_struct_1): Don't return a value.
	* decl.h (pending_statics): Remove declaration.
	* decl.c (walk_namespaces_r): New function.
	(walk_globals_r): Likewise.
	(vtable_decl_p): Likewise.
	(vtype_decl_p): Likewise.
	(sigtable_decl_p): Likewise.
	(walk_namespaces): Likewise.
	(walk_globals_data): New type.
	(walk_globals): New function.
	(wrapup_globals_for_namespace): Likewise.
	(expand_static_init): Remove assertion.  Remove redundancy in
	conditional.  Don't put static data members in static_aggregates
	Tidy.
	(finish_function): Remove redundancy in conditional.  Don't set
	DECL_RETURNS_FIRST_ARG.
	(cat_namespace_levels): Remove.
	* decl2.c: Include splay-tree.h and varray.h.
	(priority_info_s): New structure.
	(finish_vtable_vardecl): Change prototype.  Adjust for new calling
	conventions.
	(prune_vtable_vardecl): Likewise.
	(finish_sigtable_vardecl): Likewise.
	(setup_initp): Remove.
	(do_dtors): Remove.
	(do_ctors): Remove.
	(start_static_storage_duration_function): New function.
	(generate_inits_for_priority): Likewise.
	(finish_static_storage_duration_function): Likewise.
	(get_priority_info): Likewise.
	(do_static_initialization): Likewise.
	(do_static_destruction): Likewise.
	(do_static_initialization_and_destruction): Likewise.
	(generate_ctor_or_dtor_function): Likewise.
	(generate_ctor_and_dtor_functions_for_priority): Likewise.
	(pending_statics): Make it a varray.
	(pending_statics_used): New variable.
	(saved_inlines): Make it a varray.
	(saved_inlines_used): New variable.
	(finish_static_data_member): Change method of updating
	pending_statics.
	(mark_inline_for_output): Remove #if 0'd code.  Change method of
	updating saved_inlines.
	(walk_vtables): Remove.
	(walk_sigtables): Likewise.
	(import_export_decl): Use DECL_TINFO_FN_P.
	(pending_templates): Remove declaration.
	(maybe_templates): Likewise.
	(static_aggregates_initp): Likewise.
	(setup_initp): Likewise.
	(finish_objects): Simplify.
	(INITIALIZE_P_IDENTIFIER): New macro.
	(PRIORITY_IDENTIFIER): New macro.
	(SSDF_IDENTIFIER): New macro.
	(initialize_p_decl): New variable.
	(priority_decl): Likewise.
	(ssdf_decl): Likewise.
	(priority_info_map): Likewise.
	(finish_file): Recode output of static intializers and other
	file-scope finalization tasks.
	* error.c (OB_END_TEMPLATE_ID): New macro.
	(dump_type_real): Use it.
	(dump_decl): Likewise.
	(dump_function_name): Likewise.
	* lex.c (set_typedecl_interface_info): Adjust for new walk_globals
	interface.
	(check_newline): Use walk_globals, not walk_vtables.
	* pt.c (pending_tempalte_expansions): Remove.
	(set_vardecl_interface_info): Likewise.
	(pending_templates): Make static.
	(maybe_templates): Likewise.
	(instantiate_class_template): Adjust call to finish_struct_1.
	(instantiate_pending_templates): New function.
	* rtti.c (get_tinfo_fn): Use SET_DECL_TINFO_FN_P.
	* tree.c (static_aggregates_initp): Remove.
	(cp_valid_lang_attribute): Don't use it; use DECL_INIT_PRIORITY
	instead.
	* Makefile.in (decl2.o): Depend on varray.h and splay-tree.h.

From-SVN: r26594
1999-04-22 23:13:12 +00:00
Mark Mitchell
32291f940e toplev.h (wrapup_global_declarations): Declare.
* toplev.h (wrapup_global_declarations): Declare.
	(check_global_declarations): Likewise.
	* toplev.c (wrapup_global_declarations): New function, split out
	from ...
	(check_global_declarations): Likewise...
	(compile_file): Here.

From-SVN: r26593
1999-04-22 23:06:09 +00:00
Craig Burley
6b55276ed9 support array bounds checking
From-SVN: r26592
1999-04-22 19:01:43 -04:00