Commit Graph

16538 Commits

Author SHA1 Message Date
Jeffrey A Law
6b879bcc3b * haifa-sched.c (print_value, case SUBREG): Fix typo.
From-SVN: r19593
1998-05-06 12:00:20 -06:00
Jeffrey A Law
6b28fd639d i386.c (output_387_binary_op): Add some braces to avoid warnings.
* i386.c (output_387_binary_op): Add some braces to avoid warnings.
        * i386.h (REG_CLASS_CONTENTS): Similarly.

From-SVN: r19592
1998-05-06 11:53:18 -06:00
Jim Wilson
71ebb3b81e toplev.h cleanups...
* objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
	* objc/objc-parse.y, objc/objc-parse.c: Regenerate.

From-SVN: r19591
1998-05-06 10:05:41 -07:00
Jim Wilson
dc9c80a219 toplev.h cleanup...
* Makefile.in (call.o, class.o, decl.o, decl2.o, errfn.o, error.o,
	except.o, expr.o, friend.o, init.o, lex.o, method.o, pt.o, repo.o,
	rtti.o, search.o, semantics.o, sig.o, tree.o, typeck.o, typeck2.o,
	xref.o): Add toplev.h dependencies.

From-SVN: r19590
1998-05-06 09:52:21 -07:00
Jim Wilson
a0c8e1b2c5 toplev.h cleanups...
* toplev.c: Include toplev.h.
	* Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
	c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
	dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
	hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
	reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
	toplev.h dependency.

From-SVN: r19589
1998-05-06 09:43:15 -07:00
Jeff Law
dda2e82cf6 Another new test.
From-SVN: r19588
1998-05-06 10:36:26 -06:00
Jeff Law
5fe8708c3c New test.
From-SVN: r19587
1998-05-06 10:35:35 -06:00
Jeffrey A Law
cc1328655c toplev.c (-fsched-max): Delete flag.
* toplev.c (-fsched-max): Delete flag.
        (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
        * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
        and -fsched-interblock-max-insns-N support.  Remove INTERBLOCK_DEBUG
        conditionals.
        * haifa-sched.c (find_rgns): Correctly handle reducible loops with
        inner loops which are not reducible.

From-SVN: r19586
1998-05-06 10:32:40 -06:00
Jim Wilson
1b15c5def4 Fix minor merge error in mips port.
* mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
	HARD_FRAME_POINTER_REGNUM.

From-SVN: r19585
1998-05-06 09:21:01 -07:00
Jim Wilson
7e07331424 Fix irix6 linker warning, multiply defined target_temp_slot_level.
* expr.c (target_temp_slot_level): Delete duplicate definition.

From-SVN: r19584
1998-05-06 08:55:26 -07:00
Jeffrey A Law
fd4a1ca503 * loop.c (regs_match_p): Fix typo in prototype.
From-SVN: r19583
1998-05-06 09:51:37 -06:00
Jeffrey A Law
d06eab0d86 regmove.c (try_auto_increment): Wrap declaration inside an #ifdef AUTO_INC_DEC.
* regmove.c (try_auto_increment): Wrap declaration inside an
        #ifdef AUTO_INC_DEC.

From-SVN: r19582
1998-05-06 09:47:37 -06:00
Jeffrey A Law
2c261fc0a3 errfn.c (cp_error, cp_warning): Remove declarations for error and warning respectively.
* errfn.c (cp_error, cp_warning): Remove declarations for
        error and warning respectively.

From-SVN: r19581
1998-05-06 09:46:18 -06:00
Michael Meissner
31bfbf1f68 Make output_operand_lossage report the real error, do not just call abort
From-SVN: r19580
1998-05-06 14:21:02 +00:00
Kaveh R. Ghazi
e9a780ecec c-common.c: Convert to using ctype macros defined in system.h.
* c-common.c: Convert to using ctype macros defined in system.h.
        * c-lex.c: Likewise.
        * cccp.c: Likewise.
        * collect2.c: Likewise.
        * rs6000.c: Likewise.
        * cpplib.c: Likewise.
        * fix-header.c: Likewise.
        * gcc.c: Likewise.
        * gen-protos.c: Likewise.
        * pexecute.c: Likewise.
        * protoize.c: Likewise.
        * rtl.c: Likewise.
        * scan.c: Likewise.
        * stmt.c: Likewise.
        * tlink.c: Likewise.
        * toplev.c: Likewise.

From-SVN: r19579
1998-05-06 12:56:58 +00:00
Gavin Koch
d4c3e60e96 r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC): Replace -gdwarf-2 with -g0.
* config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
	Replace -gdwarf-2 with -g0.

From-SVN: r19578
1998-05-06 11:45:22 +00:00
Kaveh R. Ghazi
faa25e97f1 error.c: Convert to using ctype macros defined in system.h.
* error.c: Convert to using ctype macros defined in system.h.
        * method.c: Likewise.
        * xref.c: Likewise.
        * lex.c: Likewise.  Also remove redundant system header stuff.

From-SVN: r19577
1998-05-06 11:41:58 +00:00
Craig Burley
f8676b5db3 Fix 980427-0.f:
Tue Apr 28 09:23:10 1998  Craig Burley  <burley@gnu.org>
	Fix 980427-0.f:
	* global.c (ffeglobal_ref_progunit_): When transitioning
	from EXT to FUNC, discard hook, since the decl, if any, is
	probably wrong.

From-SVN: r19574
1998-05-06 09:06:36 +00:00
Kaveh R. Ghazi
90fbb8c9f5 More system.h cutover...
* Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
        * mips-tdump.c: Include system.h, remove redundant headers.
        * mips-tfile.c: Likewise.  Convert all ctype function calls to
        macro versions defined in system.h.
        * objc/Make-lang.in (objc-act.o): Depend on system.h.
        * objc/objc-act.c: Include system.h, remove redundant headers.

From-SVN: r19573
1998-05-06 08:57:18 +00:00
Kaveh R. Ghazi
8f81384fec The isascii check is needed by system.h.
* configure.in (AC_CHECK_FUNCS): Add isascii.
        (GCC_NEED_DECLARATIONS): Add atof.
        * system.h: Provide prototypes for abort, atof, atol and sbrk here.
        * rtl.c, rtl.h, toplev.c, tree.h: Not here.

From-SVN: r19572
1998-05-06 08:36:04 +00:00
Kaveh R. Ghazi
e572c0c68c Be more careful when including <time.h> and <sys/file.h> in system.h.
Consolidate O_RDONLY/O_WRONLY fallback definitions from various files
into system.h.
        * system.h: Wrap time.h and sys/file.h in autoconf checks.
        Provide default definitions for O_RDONLY and O_WRONLY here.
        * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.

From-SVN: r19571
1998-05-06 07:58:27 +00:00
Dave Love
45a455c9a6 Comment on fix.
From-SVN: r19570
1998-05-06 06:57:39 +00:00
Mark Mitchell
8830da36dc tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
1998-05-05  Mark Mitchell  <mmitchell@usa.net>
	* tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.

From-SVN: r19569
1998-05-06 06:38:15 +00:00
Robert Lipe
6553243e35 toplev.h: New file.
Mon May  4 01:32:20 1998  Robert Lipe  <robertl@dgii.com>
        * toplev.h: New file.   Protypes for functions in toplev.c.
        * tree.h, rtl.h: Deleted protos for functions in toplev.c.
        * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
        c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
        convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
        function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
        reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
        varasm.c: include it.

From-SVN: r19568
1998-05-06 05:12:21 +00:00
Robert Lipe
12027a8912 call.c, [...]: Add include of toplev.h.
Wed May  6 06:36:41 1998  Robert Lipe  <robertl@dgii.com>
        * call.c, class.c, decl.c, decl2.c, errfn.c, error.c, except.c,
        expr.c, friend.c, init.c, lex.c, method.c, pt.c, repo.c, rtti.c,
        search.c, semantics.c, sig.c, tree.c, typeck.c, typeck2.c,
        xref.c: Add include of toplev.h.

From-SVN: r19567
1998-05-06 05:05:11 +00:00
Robert Lipe
178e196ef1 Correct ChangeLog entry for my last cp/ChangeLog fix.
Correct ChangeLog entry for my last cp/ChangeLog fix.  The "cp/" is
implicit.   No need to call it out.

From-SVN: r19566
1998-05-06 05:03:22 +00:00
Robert Lipe
54f92bfbb1 call.c, [...]: Add include of toplev.h.
Wed May  6 06:36:41 1998  Robert Lipe  <robertl@dgii.com>
        * cp/call.c, cp/class.c, cp/decl.c, cp/decl2.c,
        cp/errfn.c, cp/error.c, cp/except.c, cp/expr.c,
        cp/friend.c, cp/init.c, cp/lex.c, cp/method.c,
        cp/pt.c, cp/repo.c, cp/rtti.c, cp/search.c,
        cp/semantics.c, cp/sig.c, cp/tree.c, cp/typeck.c,
        cp/typeck2.c, cp/xref.c: Add include of toplev.h.

From-SVN: r19565
1998-05-06 05:01:35 +00:00
Robert Lipe
10f0ad3d49 toplev.h: New file.
Wed May  6 06:35:38 1998  Robert Lipe  <robertl@dgii.com>
        * toplev.h: New file.   Protypes for functions in toplev.c.
        * tree.h, rtl.h: Deleted protos for functions in toplev.c.
        * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
        c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
        convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
        function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
        reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
        varasm.c: include it.

From-SVN: r19564
1998-05-06 04:54:01 +00:00
Robert Lipe
5f6da3024b toplev.h: New file.
Wed May  6 06:35:38 1998  Robert Lipe  <robertl@dgii.com>
        * toplev.h: New file.   Protypes for functions in toplev.c.
        * tree.h, rtl.h: Deleted protos for functions in toplev.c.
        * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
        c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
        convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
        function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
        reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
        varasm.c: include it.

From-SVN: r19563
1998-05-06 04:45:47 +00:00
Robert Lipe
06b8879012 call.c, [...]: Add include of toplev.h.
�
        * cp/call.c, cp/class.c, cp/decl.c, cp/decl2.c,
        cp/errfn.c, cp/error.c, cp/except.c, cp/expr.c,
        cp/friend.c, cp/init.c, cp/lex.c, cp/method.c,
        cp/pt.c, cp/repo.c, cp/rtti.c, cp/search.c,
        cp/semantics.c, cp/sig.c, cp/tree.c, cp/typeck.c,
        cp/typeck2.c, cp/xref.c: Add include of toplev.h.

From-SVN: r19562
1998-05-06 04:40:48 +00:00
Robert Lipe
c5ff95e6c4 toplev.h: New file.
* toplev.h: New file.   Protypes for functions in toplev.c.
        * tree.h, rtl.h: Deleted protos for functions in toplev.c.
        * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
        c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
        convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
        function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
        reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
        varasm.c: include it.

From-SVN: r19561
1998-05-06 04:39:57 +00:00
Jason Merrill
73c9f27018 tree.c (perm_manip): Also regenerate the RTL of an extern.
* tree.c (perm_manip): Also regenerate the RTL of an extern.
	(copy_to_permanent): Use end_temporary_allocation.

From-SVN: r19560
1998-05-05 22:40:36 -04:00
Jeffrey A Law
15ebe47d89 haifa-sched.c (find_rgns): In no_loops case, fix test for leaf blocks.
* haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
        blocks.  Check for 1 successor which is the EXIT_BLOCK.
        * haifa-sched.c (find_rgns): Detect unreachable blocks, including
        unreachable loops with more than one block.

Co-Authored-By: Jim Wilson <wilson@cygnus.com>

From-SVN: r19558
1998-05-05 18:12:15 -06:00
Jason Merrill
0fac6b0b32 init.c (expand_vec_init): The initialization of each array element is a full-expression.
* init.c (expand_vec_init): The initialization of each array
	element is a full-expression.

From-SVN: r19557
1998-05-05 19:54:18 -04:00
Manfred Hollstein
25cf40e29d fix-header.c (write_rbrac): Add "abort" to functions which need to be protected.
(
	* fix-header.c (write_rbrac): Add "abort" to functions which need to
	be protected.

From-SVN: r19556
1998-05-05 23:23:41 +00:00
Manfred Hollstein
dbbfa8c8ca fix-header.c (write_rbrac): Add "abort" to functions which need to be protected.
�
	* fix-header.c (write_rbrac): Add "abort" to functions which need to
	be protected.

From-SVN: r19555
1998-05-05 23:23:39 +00:00
Jeff Law
f5963e6170 * Check in merge from gcc2. See ChangeLog.12 for details.
From-SVN: r19553
1998-05-05 17:18:02 -06:00
Jeff Law
9d1bcb4667 New test from Joern.
From-SVN: r19552
1998-05-05 16:31:25 -06:00
Jeff Law
7f2ef0e723 New test.
From-SVN: r19551
1998-05-05 15:41:24 -06:00
Michael Meissner
a2b1989b76 Add -Os to torture options
From-SVN: r19546
1998-05-05 16:24:01 +00:00
Jim Wilson
c6a9dea8d5 Fix old -pedantic error I noticed while reviewing patch from Ulrich.
* c-common.c (scan_char_table): Separate 's' and 'c'.  'c' does not
	accept 'a' flag.  'S' does accept 'a' flag.
	(check_format_info): When pedantic, warn for m/C/S/a/A formats,
	and `a' flag.

From-SVN: r19545
1998-05-05 08:37:37 -07:00
Andrew MacLeod
664f169d75 Call build_type_variant in method.c
From-SVN: r19544
1998-05-05 15:29:06 +00:00
Jim Wilson
3d90c2b510 Fix bug reported by Ian Taylor, mips64-elf multilibs are wrong.
* elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.

From-SVN: r19543
1998-05-05 07:35:14 -07:00
Jeffrey A Law
8b05263da4 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
From-SVN: r19542
1998-05-05 03:33:05 -06:00
Andreas Schwab
97b57a81db m68k.h: Declare functions from m68k.c used in macros and machine description.
* config/m68k/m68k.h: Declare functions from m68k.c used in
	macros and machine description.
	(ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
	long values.
	(ASM_OUTPUT_FLOAT): Likewise.
	(ASM_OUTPUT_FLOAT_OPERAND): Likewise.

From-SVN: r19541
1998-05-05 01:54:21 +00:00
Jason Merrill
c5c637382c tree.def: Add NAMESPACE_DECL.
* tree.def: Add NAMESPACE_DECL.
	* dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
	* dwarf2out.c (push_decl_scope): Likewise.
	(scope_die_for): Likewise.
	* tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
	how to get next context level.

From-SVN: r19540
1998-05-04 21:28:34 -04:00
Jason Merrill
2addbe1dca tree.def: Add NAMESPACE_DECL.
* tree.def: Add NAMESPACE_DECL.
	* dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
	* dwarf2out.c (push_decl_scope): Likewise.
	(scope_die_for): Likewise.
	* tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
	how to get next context level.
	* cp-tree.def: Remove NAMESPACE_DECL.
	* cp/Makefile.in: Add .SUFFIXES.

From-SVN: r19539
1998-05-04 21:27:06 -04:00
Jim Wilson
2e14a41b63 i386.c (output_fix_trunc): Add code to emulate non-popping DImode case.
* i386.c (output_fix_trunc): Add code to emulate non-popping DImode
        case.

From-SVN: r19538
1998-05-04 18:44:36 -06:00
Jeff Law
fd34c882b9 New test.
From-SVN: r19536
1998-05-04 18:35:14 -06:00
Jeff Law
2bbb51a15f New test
From-SVN: r19535
1998-05-04 18:18:36 -06:00