Commit Graph

16445 Commits

Author SHA1 Message Date
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
Gavin Koch a0281dae2f elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL, [...]): Define.
* config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
	ASM_OUTPUT_WEAK_ALIAS): Define.
	* config/mips/elf64.h: Same.
	* config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
	ASM_WEAKEN_LABEL): Removed.

From-SVN: r19491
1998-04-29 12:12:08 +00:00
Dave Love 87c54c633b 980419-1.f: Removed since doesn't compile.
1998-04-29  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/compile/980419-1.f: Removed since doesn't compile.

From-SVN: r19490
1998-04-29 02:39:51 +00:00
Dave Love 875cbc243c Removed since doesn't compile.
From-SVN: r19489
1998-04-29 02:10:22 +00:00
Andreas Schwab 5566605485 calls.c (expand_call): Bump the length limit on the specially recognized function names to 17.
* calls.c (expand_call): Bump the length limit on the specially
	recognized function names to 17.

From-SVN: r19488
1998-04-29 01:59:28 +00:00
Jeff Law 3d6bcd762c Initial revision
From-SVN: r19485
1998-04-28 19:53:08 -06:00
Jeff Law bd066fbfb9 Initial revision
From-SVN: r19482
1998-04-28 17:26:17 -06:00
Jeff Law 7342b050ae Initial revision
From-SVN: r19476
1998-04-28 17:12:39 -06:00
Jim Wilson f60d62486e Patch from Shigeya Suzuki to fix BSD/OS 3.1 build failure.
* ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
	when undefining macros at the end.

From-SVN: r19472
1998-04-28 14:13:26 -07:00
Jim Wilson bf931ec829 Fix x86 memset bug, reported by Karl Guenter Wuensch.
* expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
	val or len has TREE_SIDE_EFFECTS set.

From-SVN: r19471
1998-04-28 12:12:47 -07:00
Jim Wilson 2cea586a7e Patch to fix sparc multiply failures, reported by Laurent Bonnaud.
* sparc.md (mulsidi3): Call const v8plus and v8plus routines.
	(mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
	(smuldi3_highpart): Call const v8plus routine.
	(smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
	(const_smulsi3_highpart_v8plus): New pattern.
	(smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
	(umulsidi3): Call const v8plus routine.
	(umulsi3_highpart): Handle const before v8plus.  Call const v8plus
	routine.
	(umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
	(umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.

From-SVN: r19470
1998-04-28 10:55:22 -07:00
Mark Mitchell b69b1501dc semantics.c (begin_stmt_expr): Avoid duplicating the effect of the expression in templates.
* semantics.c (begin_stmt_expr): Avoid duplicating the effect of
	the expression in templates.
	(finish_stmt_expr): Likewise.

From-SVN: r19469
1998-04-28 13:24:00 +00:00
Jim Wilson 69fa83cfbb Patch from Ian Taylor. Clarify MIPS -membedded-pic documentation.
From-SVN: r19468
1998-04-28 05:13:37 -07:00
Nick Clifton 3a6bd8c027 At the suggestion of Richard Earnshaw I have changed GO_IF_LEGITIMATE_ADDRESS...
At the suggestion of Richard Earnshaw I have changed GO_IF_LEGITIMATE_ADDRESS
so that it tests for equality to frame-pointer-rtx rather than
FRAME_POINTER_REGNUM.

From-SVN: r19467
1998-04-28 08:26:56 +00:00
Brendan Kehoe 9ac1d79d9d * decl2.c (ambiguous_decl): Fix NAME parm to be a tree, not int.
From-SVN: r19466
1998-04-28 03:33:51 -04:00
Michael Meissner 2b7972b093 update m32r port
From-SVN: r19465
1998-04-28 05:58:21 +00:00
Michael Meissner 77be0cab5f Fixup --enable-target-optspace
From-SVN: r19464
1998-04-28 04:36:18 +00:00
Michael Meissner 3d9d39bbd3 Add mt-ospace
From-SVN: r19463
1998-04-28 04:33:46 +00:00
Richard Henderson 1052e6e680 Bounce the ftnint argument through a local time_t.
From-SVN: r19460
1998-04-27 16:00:10 -07:00
Richard Henderson 70e1ce21e5 * libU77/ltime_.c: Bounce the ftnint argument through a local time_t.
From-SVN: r19457
1998-04-27 15:53:54 -07:00