Commit Graph

16414 Commits

Author SHA1 Message Date
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
Jeffrey A Law
f78c792cb5 reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes for any insns skipped at the start of a block...
* reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
        for any insns skipped at the start of a block because they were
        redundant.

From-SVN: r19534
1998-05-04 18:15:50 -06:00
Jim Wilson
4330b0e77d Fix mips-tfile failure on alpha, from Holger Bauer.
* alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.

From-SVN: r19533
1998-05-04 13:24:46 -07:00
Ulrich Drepper
b57062ca3d (format_char_info): Add new field hhlen.
(print_char_table, scan_char_table, time_char_table): Initialize
hhlen field appropriately.
(char_format_info): Recognize hh modifier and lookup correct char
table entry.

From-SVN: r19532
1998-05-04 20:19:33 +00:00
Jim Wilson
06eaa86f99 Fix bug where storing into const string gives core dump, from Kamil Iskra.
* expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
	reference if this is a store.

From-SVN: r19531
1998-05-04 12:16:35 -07:00
Richard Henderson
9ed5dc544a * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
From-SVN: r19530
1998-05-04 10:26:14 -07:00
Robert Lipe
a4cbe801b3 Make UnixWare 7 bootstrap support work with final shipping product.
d
        Make UnixWare 7 bootstrap support work with final shipping product.
        * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
        Pick up xm-siglist and xm-alloca.
        (xm_defines): Add USG so dbxout will build.
        * configure: Regenerate.

From-SVN: r19529
1998-05-03 22:15:49 +00:00
Robert Lipe
48a51bf478 Make UnixWare 7 bootstrap support work with final shipping product.
a
        Make UnixWare 7 bootstrap support work with final shipping product.
        * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
        Pick up xm-siglist and xm-alloca.
        (xm_defines): Add USG so dbxout will build.
        * configure: Regenerate.

From-SVN: r19528
1998-05-03 22:15:48 +00:00
Robert Lipe
fb6d9312d2 Make UnixWare 7 bootstrap support work with final shipping product.
�
        Make UnixWare 7 bootstrap support work with final shipping product.
        * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
        Pick up xm-siglist and xm-alloca.
        (xm_defines): Add USG so dbxout will build.
        * configure: Regenerate.

From-SVN: r19527
1998-05-03 22:15:46 +00:00
Richard Henderson
82d6b402bb Support for official Sparc V9 ABI:
* sparc.c (sparc_override_options): Force stack bias off for !arch64.
        Care for flag_pcc_struct_return default.
        (output_move_quad): Rewrite to move by halves on v9 and in the
        proper direction.
        (move_quad_direction): New function.
        (output_fp_move_quad): Use it to determine the direction of copy.
        (function_arg_slotno): Return -1 for FP reg overflow as well.
        (function_arg_record_value*): New functions.
        (function_arg): Use them.  Streamline unprototyped parameter passing.
        (function_arg_pass_by_reference): Pass TCmode by reference.
        (function_value): New function.
        * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
        long long in 64-bit mode.
        (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
        (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
        (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
        (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
        (BASE_INCOMING_ARG_REG): Likewise.
        (FUNCTION_VALUE): Call function_value.
        (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
        * sparc.md (movdi_sp32_v9): Disable for arch64.
        (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
        (call_value_address_sp64): Remove register class constraints.
        (call_value_symbolic_sp64): Likewise.
        (nonlocal_goto): Pass label reg directly to goto_handlers.  Constrain
        v9 case to 32-bit constants.
        (goto_handler_and_restore_v9): Provide a version for arch64.
        * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
        * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
        (CPP_PREDEFINES): New.
        * sparc/sp64-elf.h: Likewise.
        (PREFERRED_DEBUGGING_TYPE): Dwarf2.
        (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
        * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.

From-SVN: r19526
1998-05-03 07:19:46 -07:00
Jason Merrill
959d87966a call.c (build_over_call): Do evaluate arg even if it has empty class type.
* call.c (build_over_call): Do evaluate arg even if it has empty
	class type.
	* decl.c (start_function): Don't push a member function.

From-SVN: r19525
1998-05-02 22:30:57 -04:00
Jeffrey A Law
e40abc3236 Bump for snapshot
From-SVN: r19520
1998-05-02 11:47:21 -06:00
J"orn Rennecke
b60a841635 reload.c (find_reloads): Emit USEs to mark where a pseudo is reloaced with the MEM of its stack slot.
* reload.c (find_reloads): Emit USEs to mark where a pseudo
	is reloaced with the MEM of its stack slot.
	* reload1.c (cannot_omit_stores): Delete.
	(reload): Don't initialize it.
	Don't apply avoid_return_reg logic to USEs.
	When done, remove USEs that have a REG_EQUAL note on them.
	(emit_reload_insns): Handle case where we have inherited a MEM.
	(delete_output_reload): Don't use cannot_omit_stores.

From-SVN: r19508
1998-05-01 18:40:53 +01:00
Jeff Law
bd64e40c54 Initial revision
From-SVN: r19505
1998-05-01 00:05:05 -06:00
Jim Wilson
c1879238e7 Fix build failure when POSIXLY_CORRECT set, reported by B. James Phillippe.
* Makefile.in (cpp.info, gcc.info): Put -o option before input file.
	* cp/Makefile.in (g++FAQ.info): Put -o option before input file.
	* f/Make-lang.in (g77.info, g77.dvi, BUGS, INSTALL, NEWS): Put -o
	option before input file.

From-SVN: r19504
1998-04-30 12:01:09 -07:00
Michael Meissner
459b382548 Prevent buffer overrun in debug output; Make alloc_{INSN,EXPR}_LIST static
From-SVN: r19503
1998-04-30 16:25:19 +00:00
Andrew MacLeod
61fbdb55bd Update gxxint.texi to include squangling info
From-SVN: r19502
1998-04-30 10:11:45 +00:00
Jeff Law
d6bcc74ac6 Initial revision
From-SVN: r19499
1998-04-29 10:43:13 -06:00
Jeff Law
a94c6ebef0 Initial revision
From-SVN: r19498
1998-04-29 10:42:41 -06:00
Jeff Law
78acf2e987 Initial revision
From-SVN: r19497
1998-04-29 10:40:21 -06:00
Jeff Law
bc7550703d Initial revision
From-SVN: r19496
1998-04-29 10:38:05 -06:00
Jeff Law
1ada4c55ae Initial revision
From-SVN: r19495
1998-04-29 10:34:27 -06:00
J"orn Rennecke
93da030f63 sched.c (new_insn_dead_notes): Check if the register was used in the original instruction.
* sched.c (new_insn_dead_notes): Check if the register was
	used in the original instruction.
	* haifa-sched.c (new_insn_dead_notes): Likewise.

From-SVN: r19494
1998-04-29 14:53:20 +01:00
Jim Wilson
0c84c61834 Fix dwarf2 abort while compiling mips simulator, reported by Michael Tiemann.
* dwarf2out.c (scope_die_for): If could not find proper scope,
	check for and handle tagged type with incorrect TYPE_CONTEXT.

From-SVN: r19493
1998-04-29 06:47:28 -07:00
John Carr
bf5f0e9098 calls.c (expand_call): Fix recognition of C++ operator new.
* calls.c (expand_call): Fix recognition of C++ operator new.
	* alias.c (mode_alias_check): Disable type based alias detection.

From-SVN: r19492
1998-04-29 12:41:21 +00:00