Commit Graph

17376 Commits

Author SHA1 Message Date
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
Robert Lipe
95d5a7815c Changes from Alexandre and Klaus-Georg.
From-SVN: r20820
1998-06-30 08:31:49 +00:00
Klaus-Georg Adams
4a6443a19d eb132.C: New test.
* g++.old-deja/g++.robertl/eb132.C: New test.
* g++.old-deja/g++.robertl/eb133.C: Likewise.

From-SVN: r20819
1998-06-30 08:23:18 +00:00
Klaus-Georg Adams
2d4b533de4 New tests from Klaus-Georg.
From-SVN: r20818
1998-06-30 08:20:13 +00:00
Craig Burley
a6fa642003 Fix 980628-*.f:
Mon Jun 29 09:47:33 1998  Craig Burley  <burley@gnu.org>
	Fix 980628-*.f:
	* bld.h: New `pad' field and accessor macros for
	ACCTER, ARRTER, and CONTER ops.
	* bld.c (ffebld_new_accter, ffebld_new_arrter,
	ffebld_new_conter_with_orig): Initialize `pad' field
	to zero.
	* com.c (ffecom_transform_common_): Include initial
	padding (aka modulo aka offset) in size calculation.
	Copy initial padding value into FFE initialization expression
	so the GBE transformation of that expression includes it.
	Make array low bound 0 instead of 1, for consistency.
	(ffecom_transform_equiv_): Include initial
	padding (aka modulo aka offset) in size calculation.
	Copy initial padding value into FFE initialization expression
	so the GBE transformation of that expression includes it.
	Make array low bound 0 instead of 1, for consistency.
	(ffecom_expr_, case FFEBLD_opACCTER): Delete unused `size'
	variable.
	Track destination offset separately, allowing for
	initial padding.
	Don't bother setting initial PURPOSE offset if zero.
	Include initial padding in size calculation.
	(ffecom_expr_, case FFEBLD_opARRTER): Allow for
	initial padding.
	Include initial padding in size calculation.
	Make array low bound 0 instead of 1, for consistency.
	(ffecom_finish_global_): Make array low bound 0 instead
	of 1, for consistency.
	(ffecom_notify_init_storage): Copy `pad' field from old
	ACCTER to new ARRTER.
	(ffecom_notify_init_symbol): Ditto.
	* data.c (ffedata_gather_): Initialize `pad' field in new
	ARRTER to 0.
	(ffedata_value_): Ditto.
	* equiv.c (ffeequiv_layout_local_): When lowering start
	of equiv area, extend lowering to maintain needed alignment.
	* target.c (ffetarget_align): Handle negative offset correctly.
	* global.c (ffeglobal_pad_common): Warn about non-zero
	padding only the first time its seen.
	If new padding larger than old, update old.
	(ffeglobal_save_common): Use correct type for size throughout.
	* global.h: Use correct type for size throughout.
	(ffeglobal_common_pad): New macro.
	(ffeglobal_pad): Delete this unused and broken macro.

From-SVN: r20817
1998-06-30 07:59:40 +00:00
Dave Love
145836925d 980628-7.f, [...]: New tests from Craig.
1998-06-29  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/980628-7.f,
	g77.f-torture/execute/980628-8.f,
	g77.f-torture/execute/980628-9.f,
	g77.f-torture/execute/980628-10.f: New tests from Craig.

From-SVN: r20816
1998-06-30 06:14:57 +00:00
Dave Love
a8fdca91e7 New test.
From-SVN: r20815
1998-06-30 06:12:50 +00:00
Kaveh R. Ghazi
51db713ffd Remove autoconf things and OS header stuff (namely NULL) from gansidecl.h:
* gansidecl.h (ATTRIBUTE_UNUSED): Use __unused__ not `unused'.
        Don't define NULL here.  Also, remove all vestiges of autoconf
        based checks for bcmp/bcopy/bzero/index/rindex.
        * system.h: Immediately after including stdio.h, check for and if
        necessary provide a default definition of NULL.

From-SVN: r20814
1998-06-30 06:11:43 +00:00
Michael Meissner
b8705408e8 Call fatal_insn_not_found instead of abort
From-SVN: r20813
1998-06-30 05:26:11 +00:00
Jeffrey A Law
20f2d03a8e choose-temp.c (make_temp_file): Accept new argument for the file suffix to use.
* choose-temp.c (make_temp_file): Accept new argument for the
        file suffix to use.  Allocate space for it and add it to the
        template.
        * mkstemp.c (mkstemps): Renamed from mkstemp.  Accept new argument
        for the length of the suffix.  Update template struture checks
        to handle optinal suffix.
        * collect2.c (make_temp_file): Update prototype.
        (main): Put proper suffixes on temporary files.
        * gcc.c (make_temp_file): Update prototype.
        (do_spec_1): Put proper suffixes on temporary files.
Should fix irix build problems.

From-SVN: r20812
1998-06-29 19:41:45 -06:00
Jeff Law
af24816977 Daily bump.
From-SVN: r20811
1998-06-29 18:45:02 -06:00
Bruno Haible
dbde0d5d34 invoke.texi: Document new implicit structure initialization warning.
* invoke.texi: Document new implicit structure initialization
        warning.

From-SVN: r20810
1998-06-29 18:01:28 -06:00
Jeff Law
9ec36da574 * Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 for
details.

From-SVN: r20808
1998-06-29 15:40:49 -06:00
Jeffrey A Law
ad2c71b764 * pa.c, pa.h, pa.md: Convert to gen_rtx_FOO.
From-SVN: r20806
1998-06-29 15:17:27 -06:00
Catherine Moore
2880d0aa37 remove -mtraceback from list of powerpc options
From-SVN: r20805
1998-06-29 14:47:39 -04:00
Catherine Moore
1a75925b16 -mtraceback is not supported.
From-SVN: r20804
1998-06-29 14:08:22 -04:00
Ulrich Drepper
68a4a14125 Update.
From-SVN: r20803
1998-06-29 18:06:37 +00:00
Ulrich Drepper
9ca05bb14e Rewrite __PMT change so that it works with platforms defining __P but
not __PMT.

From-SVN: r20802
1998-06-29 18:06:26 +00:00
Kaveh R. Ghazi
4f70758f37 Warning fixes:
* Makefile.in (fix-header): Don't needlessly depend on cpperror.o.
        * alias.c (CHECK_ALIAS_SETS_FOR_CONSISTENCY): Cast expansion to
        void since it is evaluated in a comma list.
        * mips.h (ASM_GENERATE_INTERNAL_LABEL): Always sprintf `NUM'
        argument as a long and cast `NUM' to long to ensure it is of the
        proper width.  Wrap macro arguments in parens when they appear in
        the expansion.
        * sol2.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
        * sparc.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
        (ASM_DECLARE_RESULT): Fix fprintf format specifier to match
        function argument return type.
        (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_FP_P,
        REGNO_OK_FOR_CCFP_P): Use `(unsigned)' not `U'.
        * cpplib.c (cpp_message_from_errno): Remove unneeded argument to
        cpp_message.
        * dbxout.c: Fix the comments after an #endif to reflect the actual
        condition tested in the preceding #if.
        * except.c (find_all_handler_type_matches): Switch to old-style
        function definition.
        * expr.c (expand_builtin): Remove unused variable `type' twice.
        * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Cast -1 before comparing it
        to an unsigned long.
        * haifa-sched.c (print_insn_chain): Remove unused function.
        * objc/objc-act.c (build_msg_pool_reference): Hide prototype and
        definition.
        * toplev.c: When testing whether to include dbxout.h, also include
        it when XCOFF_DEBUGGING_INFO is defined.
        * unroll.c (unroll_loop): Add parentheses around assignment used
        as truth value.

From-SVN: r20801
1998-06-29 17:36:07 +00:00
Kaveh R. Ghazi
d0902cd14b Warning fixes:
* except.c (build_eh_type_type_ref): Remove unused variable `susp'.
        (process_start_catch_block): Likewise for variables
        `false_label_rtx', `call_rtx' and `return_value_rtx'.

From-SVN: r20800
1998-06-29 17:21:30 +00:00
Dave Love
174be1b32c 980628-3.f: Remove mail headers.
1998-06-29  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/980628-3.f: Remove mail headers.

From-SVN: r20796
1998-06-29 14:04:26 +00:00
Dave Love
ba41e17c6d Remove mail headers.
From-SVN: r20795
1998-06-29 14:02:15 +00:00
Brendan Kehoe
37e58443ad revert part of the last checkin
From-SVN: r20794
1998-06-29 09:41:20 -04:00
Brendan Kehoe
a48ebb5650 tree.c (build_srcloc): Make sure we allocate this node on the permanent obstack.
* tree.c (build_srcloc): Make sure we allocate this node on the
	permanent obstack.
fixes OSE compilation failures

From-SVN: r20793
1998-06-29 09:39:23 -04:00
Ulrich Drepper
cb6abb6fd5 Update.
From-SVN: r20792
1998-06-29 11:45:33 +00:00
Ulrich Drepper
e6cc3b8058 (__PMT): New macro. Defined like __P.
Use is for function pointers.

From-SVN: r20791
1998-06-29 11:45:10 +00:00
Catherine Moore
a611ae14b3 config/sparc/lb1spc.asm (.udiv, .div) Replace routines.
From-SVN: r20790
1998-06-29 06:26:45 -04:00
Mark Mitchell
b4213325af rtl.h: Update comment about special gen_rtx variants.
* rtl.h: Update comment about special gen_rtx variants.
	* emit-rtl.c (gen_rtx): Handle MEMs using gen_rtx_MEM.

From-SVN: r20789
1998-06-29 09:44:08 +00:00
Jeff Law
f6b58e7dec Daily bump.
From-SVN: r20785
1998-06-28 18:45:01 -06:00
Jeffrey A Law
39d45901b3 choose-temp.c (choose_temp_base): Restore original variant of this function for compatibility.
* choose-temp.c (choose_temp_base): Restore original variant of
        this function for compatibility.
        (make_temp_file): This is the new, preferred interface to create
        temporary files.
        * collect2.c (choose_temp_base): Delete declaration.
        (make_temp_file): Declare.
        (temp_filename_length, temp_filename): Delete.
        (main): Use make_temp_file to get temporary files.  Use --lang-c
        to force the resulting ctort/dtor file to be compiled with the C
        compiler.  Make sure to remove temporary files on all exit paths.
        * gcc.c (make_temp_file): Provide prototype if MKTEMP_EACH_FILE is
        defined.
        (choose_temp_base): Only provide prototype if MKTEMP_EACH_FILE is
        not defined.
        (do_spec): Use make_temp_file if MKTEMP_EACH_FILE is defined.

From-SVN: r20784
1998-06-28 14:07:32 -06:00