Commit Graph

17505 Commits

Author SHA1 Message Date
Nick Clifton 4abfe23513 Define MUST_PASS_IN_STACK to override default. (Fixes testsuite/gcc.c-execute/strct-stdarg-1.c)
From-SVN: r20908
1998-07-02 17:42:29 +00:00
Ulrich Drepper 356985ca34 Update.
From-SVN: r20907
1998-07-02 15:57:28 +00:00
Ulrich Drepper 5a1a4615e4 (class basic_string): Return correct iterators in erase member functions.
From-SVN: r20906
1998-07-02 15:57:12 +00:00
Michael Meissner 6feacd0954 Switch reg_n_info structure to use varrays
From-SVN: r20894
1998-07-02 13:49:34 +00:00
David Edelsohn 39403d8233 expr.h (STACK_SIZE_MODE): New macro.
* expr.h (STACK_SIZE_MODE): New macro.
        * explow.c (allocate_dynamic_stack_space): Use it for
        mode of allocate_stack pattern increment operand.
        * tm.texi (STACK_SAVEAREA_MODE, STACK_SIZE_MODE): Document.
        * md.texi (stack_save_block, ...): Reflect use of macro.
        * rs6000.h (PROMOTE_MODE): Always promote to word_mode.
        (PROMOTE_FUNCTION_ARGS): Define.
        (PROMOTE_FUNCTION_RETURN): Define.
        (FUNCTION_VALUE): Promote to word_mode if smaller.
        Convert to gen_rtx_FOO.
        * rs6000.md (call_indirect): Store doubleword in 64-bit mode.
        Convert to gen_rtx_FOO.

From-SVN: r20893
1998-07-02 07:53:24 -04:00
Michael Meissner 848205e6ed Add initial varray support infrastructure
From-SVN: r20892
1998-07-02 11:42:39 +00:00
Robert Lipe 44bb0e9324 Regenerate file.
From-SVN: r20891
1998-07-02 08:22:14 +00:00
Robert Lipe f7c9c2bb24 install.texi (sco3.2v5): Document new --with-gnu-as flag.
* install.texi (sco3.2v5): Document new --with-gnu-as flag.
* config/i386/sco5.h (JUMP_TABLES_IN_TEXT_SECTION): Defined as
  in other targets.
  (USE_GAS): Conditionalize away native assembler usage.
* config/i386/sco5gas.h: New file.
* config/i386/t-sco5gas: New file.
* configure.in (ix86-sco3.2v5*): Use new files if --with-gnu-as

From-SVN: r20890
1998-07-02 08:13:44 +00:00
Catherine Moore c92293e702 haifa-sched.c (alloc_EXPR_LIST): Change to use unused_expr_list.
* haifa-sched.c (alloc_EXPR_LIST):  Change to use
        unused_expr_list.

From-SVN: r20889
1998-07-02 02:26:36 -04:00
Dave Love ee5b121e9b Makefile.in (install-info): Don't use $realfile.
Thu Jul  2 14:13:28 1998  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (install-info): Don't use $realfile.  Ignore
	possible errors from the install-info program.

From-SVN: r20888
1998-07-02 06:19:07 +00:00
Alasdair Baird 729a2bc66a * combine.c (simplify_comparison): Apply SUBREG_REG to SUBREGs.
From-SVN: r20887
1998-07-01 18:55:45 -06:00
Jeff Law e54c48836c Daily bump.
From-SVN: r20886
1998-07-01 18:45:01 -06:00
Jeffrey A Law 0d37278a93 * gcc.c-torture/compile/980701-1.c: New test.
From-SVN: r20885
1998-07-01 17:39:17 -06:00
Richard Henderson 9591225263 i386.h (HARD_REGNO_MODE_OK): Kill spurrious test.
* i386.h (HARD_REGNO_MODE_OK): Kill spurrious test.
        (MODES_TIEABLE_P): Tie SImode and HImode.

From-SVN: r20884
1998-07-01 16:07:35 -07:00
Andreas Jaeger 56159047bb O * invoke.texi (Optimize Options): Fix typo.
From-SVN: r20883
1998-07-01 16:42:58 -06:00
Jim Wilson 00a2e46cb0 Fix 24 powerpc-ibm-aix4.1 gdb testsuite failures due to bad gcc debug info.
* xcoffout.c (xcoffout_begin_function): Call xcoffout_block for
	the zero'th block.

From-SVN: r20882
1998-07-01 15:28:06 -07:00
Ken Raeburn 4c95db6750 h8300.c (print_operand): Delete %L support.
* h8300.c (print_operand): Delete %L support.
* h8300.md (branch_true, branch_false): Use %= with a prefix instead of %L for
local branch labels.
Prevents emitting of "tl###" labels that are not assembler-temporary and thus
confuse gdb.

From-SVN: r20881
1998-07-01 20:16:54 +00:00
J"orn Rennecke 370b1b83f1 reload1.c (emit_reload_insns): Use proper register classes for SECONDARY_INPUT_RELOAD_CLASS /...
* reload1.c (emit_reload_insns): Use proper register classes for
	SECONDARY_INPUT_RELOAD_CLASS / SECONDARY_MEMORY_NEEDED code.

From-SVN: r20878
1998-07-01 14:30:39 +01:00
J"orn Rennecke 826e385453 reload.c (find_reloads): If there are multiple RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_OUTPUT_ADDRESS...
* reload.c (find_reloads): If there are multiple
	RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_OUTPUT_ADDRESS reloads for
	one operand, change RELOAD_FOR_INPADDR_ADDRESS /
	RELOAD_FOR_OUTADDR_ADDRESS for all but the first
	RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_OUTPUT_ADDRESS reloads.

From-SVN: r20877
1998-07-01 14:20:50 +01:00
Joern Rennecke d7921434ac Typo fix.
From-SVN: r20876
1998-07-01 14:04:49 +01:00
Craig Burley f781186f27 Fix 980701-1.f (which was producing "unaligned trap" on an Alpha running GNU/Linux, as predicted):
Wed Jul  1 11:19:13 1998  Craig Burley  <burley@gnu.org>
	Fix 980701-1.f (which was producing "unaligned trap"
	on an Alpha running GNU/Linux, as predicted):
	* equiv.c (ffeequiv_layout_local_): Don't bother
	coping with pre-padding of entire area while building
	it; do that instead after the building is done, and
	do it by modifying only the modulo field.  This covers
	the case of alignment stringency being increased without
	lowering the starting offset, unlike the previous changes,
	and even more elegantly than those.
	* target.c (ffetarget_align): Make sure alignments
	are non-zero, just in case.

From-SVN: r20875
1998-07-01 11:00:52 +00:00
Dave Love b22773b175 980701-0.f, 980701-1.f: New test from Craig.
1998-07-01  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/980701-0.f,
	g77.f-torture/execute/980701-1.f: New test from Craig.

From-SVN: r20874
1998-07-01 10:58:37 +00:00
Dave Love 28e59669c0 New test from Craig.
From-SVN: r20873
1998-07-01 10:57:06 +00:00
Dave Love a752ed6510 wsfe.c (s_wsfe): Fix setting of f__curunit lost in previous change.
1998-06-29  Dave Love  <d.love@dl.ac.uk>
	* libI77/wsfe.c (s_wsfe): Fix setting of f__curunit lost in
	previous change.
	* libI77/rsfe.c (s_rsfe): Likewise.

From-SVN: r20871
1998-07-01 10:30:22 +00:00
Dave Love fbc6d36336 Current Netlib version, previously omitted.
From-SVN: r20870
1998-07-01 10:29:31 +00:00
David Edelsohn 7e390c9d11 md.texi: fix typo in save_stack_* node.
From-SVN: r20869
1998-07-01 06:22:13 -04:00
J"orn Rennecke 8543c01e3b regmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before using its PATTERN.
* regmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before
	using its PATTERN.

From-SVN: r20868
1998-07-01 10:27:35 +01:00
Richard Henderson aac5cc1620 expr.c (emit_group_load, [...]): Rewrite considering the size and alignment of the structure being manipulated.
* expr.c (emit_group_load, emit_group_store): Rewrite considering
        the size and alignment of the structure being manipulated.
        * expr.c, calls.c, function.c: Update all callers.
        * expr.h: Update prototypes.
        * cse.c (invalidate): Cope with parallels.

From-SVN: r20867
1998-06-30 22:10:51 -07:00
Richard Henderson 1eac9f59f2 sparc.c (function_arg_record_value): Take a MODE arg with which to create the PARALLEL.
* sparc.c (function_arg_record_value): Take a MODE arg with which to
        create the PARALLEL.  Update all callers.

From-SVN: r20866
1998-06-30 21:27:39 -07:00
Richard Henderson 822a3443ec expr.c (expand_assignment, [...]): Use convert_memory_address instead of convert_to_mode when possible.
* expr.c (expand_assignment, store_constructor, expand_expr): Use
        convert_memory_address instead of convert_to_mode when possible.

From-SVN: r20865
1998-06-30 21:13:55 -07:00
Richard Henderson c714f03d30 alpha.c (alpha_initialize_trampoline): Take arguments describing the layout.
* alpha.c (alpha_initialize_trampoline): Take arguments describing
        the layout.  Use ptr_mode.  Disable hint generation.  Use gen_imb.
        * alpha.h (INITIALIZE_TRAMPOLINE): Pass extra args to the init func.
        (TRANSFER_FROM_TRAMPOLINE): Move ...
        * alpha/osf.h: ... here.
        * alpha/vms.h (INITIALIZE_TRAMPOLINE): Use alpha_initialize_trampoline.
        (TRANSFER_FROM_TRAMPOLINE): Remove undef.
        * alpha/win-nt.h: Likewise.
        * alpha/vxworks.h: Likewise.
        * alpha/linux.h: Revert gcc2 merge lossage.

From-SVN: r20864
1998-06-30 20:56:35 -07:00
Andreas Schwab 03369c9399 c-decl.c (grokdeclarator): Don't warn about implicit int in `typedef foo = bar'.
* c-decl.c (grokdeclarator): Don't warn about implicit int in
	`typedef foo = bar'.

From-SVN: r20863
1998-07-01 02:00:35 +00:00
Jeff Law 0c1ba5499f Daily bump.
From-SVN: r20862
1998-06-30 18:45:01 -06:00
Robert Lipe e06c10eb82 i386.c (asm_output_function_prefix): Make 686 function
prologues not issue .types for non-global lables.

From-SVN: r20861
1998-07-01 00:16:29 +00:00
Jeffrey A Law 506506fa41 * gcc.c-torture/execute/980701-1.c: New test.
From-SVN: r20860
1998-06-30 17:54:31 -06:00
Dmitrij Tejblum 154f82c741 freebsd.h (WCHAR_TYPE): Chagne to an "int".
* i386/freebsd.h (WCHAR_TYPE): Chagne to an "int".
        (WCHAR_TYPE_SIZE): Update appropriately.

From-SVN: r20859
1998-06-30 16:52:18 -06:00
Jeffrey A Law 762a1d90e4 flow.c (recompute_reg_usage): Does not return a value.
* flow.c (recompute_reg_usage): Does not return a value.
        * rtl.h (recompute_reg_usage): Update prototype.

From-SVN: r20858
1998-06-30 16:49:11 -06:00
Jeff Law 81fc4f5cea jump.c (jump_optimize): Show that the jump chain is not valid when not optimizing.
* jump.c (jump_optimize): Show that the jump chain is not
        valid when not optimizing.
Opps.  Helps to actually commit the file you really wanted to change :-)

From-SVN: r20852
1998-06-30 16:21:11 -06:00
Jeff Law 20b2044012 jump.c (jump_optimize): Show that the jump chain is not valid when not optimizing.
* jump.c (jump_optimize): Show that the jump chain is not
        valid when not optimizing.

From-SVN: r20851
1998-06-30 16:18:49 -06:00
Richard Henderson e3208d538e alpha.c (reg_or_6bit_operand): Recognize CONSTANT_P_RTX.
* alpha.c (reg_or_6bit_operand): Recognize CONSTANT_P_RTX.
        (reg_or_8bit_operand, cint8_operand, add_operand): Likewise.
        (sext_add_operand, and_operand, or_operand): Likewise.
        (reg_or_cint_operand, some_operand, input_operand): Likewise.
        * alpha.h (PREDICATE_CODES): Add CONSTANT_P_RTX where needed.

From-SVN: r20847
1998-06-30 09:29:12 -07:00
Richard Henderson cff48d8f76 rtl.def (CONSTANT_P_RTX): New.
* rtl.def (CONSTANT_P_RTX): New.
        * rtl.h (CONSTANT_P): Recognize it.
        * cse.c (fold_rtx): Eliminate it.
        * expr.c (can_handle_constant_p): New variable.
        (init_expr_once): Initialize it.
        (expand_builtin): Generate CONSTANT_P_RTX if the expression is not
        immediately recognizable as a constant.

From-SVN: r20846
1998-06-30 09:19:11 -07:00
Mark Mitchell 84001dd054 Fix ChangeLog entry for June 30, 1998 change.
From-SVN: r20845
1998-06-30 14:51:02 +00:00
David Edelsohn 73c8090f8e tm.texi: document STACK_SAVEAREA_MODE.
md.texi: update save_stack_* pattern description.

From-SVN: r20844
1998-06-30 10:45:56 -04:00
Benjamin Kosnik 2067f1f59d decl2.c (lang_decode_option): Remove warn_template_debugging.
�
1998-06-30 benjamin kosnik  <bkoz@bliss.nabi.net>
        * decl2.c (lang_decode_option): Remove warn_template_debugging.
        * lang-options.h: Ditto.
        * dbxout.c (dbxout_type_methods): Remove warn_template_debugging.

From-SVN: r20843
1998-06-30 13:46:38 +00:00
Benjamin Kosnik 3f956d0d2f decl2.c (lang_decode_option): Remove warn_template_debugging.
1998-06-30 benjamin kosnik  <bkoz@bliss.nabi.net>
        * decl2.c (lang_decode_option): Remove warn_template_debugging.
        * lang-options.h: Ditto.
        * dbxout.c (dbxout_type_methods): Remove warn_template_debugging.

From-SVN: r20842
1998-06-30 13:46:34 +00:00
Kaveh R. Ghazi d2cabf1629 Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary header...
Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary
header files when searching for function declarations.  Use this
functionality to check for getrlimit/setrlimit.
        * aclocal.m4 (GCC_NEED_DECLARATION): Accept an optional second
        argument, which is typically preprocessor code used to draw in
        additional header files when looking for a function declaration.
        (GCC_NEED_DECLARATIONS): Likewise.
        * configure.in (GCC_NEED_DECLARATIONS): Add checks for getrlimit
        and setrlimit, search for them in sys/resource.h.
        * acconfig.h: Add stubs for NEED_DECLARATION_GETRLIMIT and
        NEED_DECLARATION_SETRLIMIT.
        * system.h: Prototype getrlimit/setrlimit if necessary.

From-SVN: r20831
1998-06-30 11:10:55 +00:00
Mark Mitchell 70198e3dd0 * rtl.texi: Don't say that RTX_INTEGRATED_P is unused.
From-SVN: r20830
1998-06-30 10:54:13 +00:00
Robert Lipe c2bd100ed7 Improvement from Klaus-Georg.
From-SVN: r20826
1998-06-30 10:23:48 +00:00
David Edelsohn ba1a57076d [multiple changes]
Tue Jun 30 13:11:42 1998  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
        * rs6000/sysv4.h (asm output): add tabs for asm directives.
Tue Jun 30 13:11:42 1998  David Edelsohn <edelsohn@mhpcc.edu>
        * Makefile.in (FLAGS_TO_PASS): Set AR_FLAGS to AR_FOR_TARGET_FLAGS.

From-SVN: r20824
1998-06-30 06:20:04 -04:00
Robert Lipe ca9cde6b44 Add colons to "build don't link" lines.
From-SVN: r20821
1998-06-30 09:09:10 +00:00