platform/upstream/gcc.git
26 years agotoplev.h: New file.
Robert Lipe [Wed, 6 May 1998 04:45:47 +0000 (04:45 +0000)]
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

26 years agocall.c, [...]: Add include of toplev.h.
Robert Lipe [Wed, 6 May 1998 04:40:48 +0000 (04:40 +0000)]
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

26 years agotoplev.h: New file.
Robert Lipe [Wed, 6 May 1998 04:39:57 +0000 (04:39 +0000)]
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

26 years agotree.c (perm_manip): Also regenerate the RTL of an extern.
Jason Merrill [Wed, 6 May 1998 02:40:36 +0000 (02:40 +0000)]
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

26 years agohaifa-sched.c (find_rgns): In no_loops case, fix test for leaf blocks.
Jeffrey A Law [Wed, 6 May 1998 00:12:15 +0000 (00:12 +0000)]
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

26 years agoinit.c (expand_vec_init): The initialization of each array element is a full-expression.
Jason Merrill [Tue, 5 May 1998 23:54:18 +0000 (23:54 +0000)]
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

26 years agofix-header.c (write_rbrac): Add "abort" to functions which need to be protected.
Manfred Hollstein [Tue, 5 May 1998 23:23:41 +0000 (23:23 +0000)]
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

26 years agofix-header.c (write_rbrac): Add "abort" to functions which need to be protected.
Manfred Hollstein [Tue, 5 May 1998 23:23:39 +0000 (23:23 +0000)]
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

26 years ago* Check in merge from gcc2. See ChangeLog.12 for details.
Jeff Law [Tue, 5 May 1998 23:18:02 +0000 (17:18 -0600)]
* Check in merge from gcc2.  See ChangeLog.12 for details.

From-SVN: r19553

26 years agoNew test from Joern.
Jeff Law [Tue, 5 May 1998 22:31:25 +0000 (16:31 -0600)]
New test from Joern.

From-SVN: r19552

26 years agoNew test.
Jeff Law [Tue, 5 May 1998 21:41:24 +0000 (15:41 -0600)]
New test.

From-SVN: r19551

26 years agoAdd -Os to torture options
Michael Meissner [Tue, 5 May 1998 16:24:01 +0000 (16:24 +0000)]
Add -Os to torture options

From-SVN: r19546

26 years agoFix old -pedantic error I noticed while reviewing patch from Ulrich.
Jim Wilson [Tue, 5 May 1998 15:37:37 +0000 (15:37 +0000)]
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

26 years agoCall build_type_variant in method.c
Andrew MacLeod [Tue, 5 May 1998 15:29:06 +0000 (15:29 +0000)]
Call build_type_variant in method.c

From-SVN: r19544

26 years agoFix bug reported by Ian Taylor, mips64-elf multilibs are wrong.
Jim Wilson [Tue, 5 May 1998 14:35:14 +0000 (14:35 +0000)]
Fix bug reported by Ian Taylor, mips64-elf multilibs are wrong.

* elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.

From-SVN: r19543

26 years ago* h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
Jeffrey A Law [Tue, 5 May 1998 09:33:05 +0000 (09:33 +0000)]
* h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.

From-SVN: r19542

26 years agom68k.h: Declare functions from m68k.c used in macros and machine description.
Andreas Schwab [Tue, 5 May 1998 01:54:21 +0000 (01:54 +0000)]
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

26 years agotree.def: Add NAMESPACE_DECL.
Jason Merrill [Tue, 5 May 1998 01:28:34 +0000 (21:28 -0400)]
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

26 years agotree.def: Add NAMESPACE_DECL.
Jason Merrill [Tue, 5 May 1998 01:27:06 +0000 (01:27 +0000)]
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

26 years agoi386.c (output_fix_trunc): Add code to emulate non-popping DImode case.
Jim Wilson [Tue, 5 May 1998 00:44:36 +0000 (00:44 +0000)]
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

26 years agoNew test.
Jeff Law [Tue, 5 May 1998 00:35:14 +0000 (18:35 -0600)]
New test.

From-SVN: r19536

26 years agoNew test
Jeff Law [Tue, 5 May 1998 00:18:36 +0000 (18:18 -0600)]
New test

From-SVN: r19535

26 years agoreorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes for any insns...
Jeffrey A Law [Tue, 5 May 1998 00:15:50 +0000 (00:15 +0000)]
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

26 years agoFix mips-tfile failure on alpha, from Holger Bauer.
Jim Wilson [Mon, 4 May 1998 20:24:46 +0000 (20:24 +0000)]
Fix mips-tfile failure on alpha, from Holger Bauer.

* alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.

From-SVN: r19533

26 years ago(format_char_info): Add new field hhlen.
Ulrich Drepper [Mon, 4 May 1998 20:19:33 +0000 (20:19 +0000)]
(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

26 years agoFix bug where storing into const string gives core dump, from Kamil Iskra.
Jim Wilson [Mon, 4 May 1998 19:16:35 +0000 (19:16 +0000)]
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

26 years ago* sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
Richard Henderson [Mon, 4 May 1998 17:26:14 +0000 (10:26 -0700)]
* sparc.c (output_move_quad): Fix typo in mov_by_64 argument.

From-SVN: r19530

26 years agoMake UnixWare 7 bootstrap support work with final shipping product.
Robert Lipe [Sun, 3 May 1998 22:15:49 +0000 (22:15 +0000)]
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

26 years agoMake UnixWare 7 bootstrap support work with final shipping product.
Robert Lipe [Sun, 3 May 1998 22:15:48 +0000 (22:15 +0000)]
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

26 years agoMake UnixWare 7 bootstrap support work with final shipping product.
Robert Lipe [Sun, 3 May 1998 22:15:46 +0000 (22:15 +0000)]
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

26 years agoSupport for official Sparc V9 ABI:
Richard Henderson [Sun, 3 May 1998 14:19:46 +0000 (07:19 -0700)]
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

26 years agocall.c (build_over_call): Do evaluate arg even if it has empty class type.
Jason Merrill [Sun, 3 May 1998 02:30:57 +0000 (02:30 +0000)]
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

26 years agoBump for snapshot
Jeffrey A Law [Sat, 2 May 1998 17:47:21 +0000 (11:47 -0600)]
Bump for snapshot

From-SVN: r19520

26 years agoreload.c (find_reloads): Emit USEs to mark where a pseudo is reloaced with the MEM...
J"orn Rennecke [Fri, 1 May 1998 17:40:53 +0000 (17:40 +0000)]
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

26 years agoInitial revision
Jeff Law [Fri, 1 May 1998 06:05:05 +0000 (00:05 -0600)]
Initial revision

From-SVN: r19505

26 years agoFix build failure when POSIXLY_CORRECT set, reported by B. James Phillippe.
Jim Wilson [Thu, 30 Apr 1998 19:01:09 +0000 (19:01 +0000)]
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

26 years agoPrevent buffer overrun in debug output; Make alloc_{INSN,EXPR}_LIST static
Michael Meissner [Thu, 30 Apr 1998 16:25:19 +0000 (16:25 +0000)]
Prevent buffer overrun in debug output; Make alloc_{INSN,EXPR}_LIST static

From-SVN: r19503

26 years agoUpdate gxxint.texi to include squangling info
Andrew MacLeod [Thu, 30 Apr 1998 10:11:45 +0000 (10:11 +0000)]
Update gxxint.texi to include squangling info

From-SVN: r19502

26 years agoInitial revision
Jeff Law [Wed, 29 Apr 1998 16:43:13 +0000 (10:43 -0600)]
Initial revision

From-SVN: r19499

26 years agoInitial revision
Jeff Law [Wed, 29 Apr 1998 16:42:41 +0000 (10:42 -0600)]
Initial revision

From-SVN: r19498

26 years agoInitial revision
Jeff Law [Wed, 29 Apr 1998 16:40:21 +0000 (10:40 -0600)]
Initial revision

From-SVN: r19497

26 years agoInitial revision
Jeff Law [Wed, 29 Apr 1998 16:38:05 +0000 (10:38 -0600)]
Initial revision

From-SVN: r19496

26 years agoInitial revision
Jeff Law [Wed, 29 Apr 1998 16:34:27 +0000 (10:34 -0600)]
Initial revision

From-SVN: r19495

26 years agosched.c (new_insn_dead_notes): Check if the register was used in the original instruc...
J"orn Rennecke [Wed, 29 Apr 1998 13:53:20 +0000 (13:53 +0000)]
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

26 years agoFix dwarf2 abort while compiling mips simulator, reported by Michael Tiemann.
Jim Wilson [Wed, 29 Apr 1998 13:47:28 +0000 (13:47 +0000)]
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

26 years agocalls.c (expand_call): Fix recognition of C++ operator new.
John Carr [Wed, 29 Apr 1998 12:41:21 +0000 (12:41 +0000)]
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

26 years agoelf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL, [...]): Define.
Gavin Koch [Wed, 29 Apr 1998 12:12:08 +0000 (12:12 +0000)]
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

26 years ago980419-1.f: Removed since doesn't compile.
Dave Love [Wed, 29 Apr 1998 02:39:51 +0000 (02:39 +0000)]
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

26 years agoRemoved since doesn't compile.
Dave Love [Wed, 29 Apr 1998 02:10:22 +0000 (02:10 +0000)]
Removed since doesn't compile.

From-SVN: r19489

26 years agocalls.c (expand_call): Bump the length limit on the specially recognized function...
Andreas Schwab [Wed, 29 Apr 1998 01:59:28 +0000 (01:59 +0000)]
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

26 years agoInitial revision
Jeff Law [Wed, 29 Apr 1998 01:53:08 +0000 (19:53 -0600)]
Initial revision

From-SVN: r19485

26 years agoInitial revision
Jeff Law [Tue, 28 Apr 1998 23:26:17 +0000 (17:26 -0600)]
Initial revision

From-SVN: r19482

26 years agoInitial revision
Jeff Law [Tue, 28 Apr 1998 23:12:39 +0000 (17:12 -0600)]
Initial revision

From-SVN: r19476

26 years agoPatch from Shigeya Suzuki to fix BSD/OS 3.1 build failure.
Jim Wilson [Tue, 28 Apr 1998 21:13:26 +0000 (21:13 +0000)]
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

26 years agoFix x86 memset bug, reported by Karl Guenter Wuensch.
Jim Wilson [Tue, 28 Apr 1998 19:12:47 +0000 (19:12 +0000)]
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

26 years agoPatch to fix sparc multiply failures, reported by Laurent Bonnaud.
Jim Wilson [Tue, 28 Apr 1998 17:55:22 +0000 (17:55 +0000)]
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

26 years agosemantics.c (begin_stmt_expr): Avoid duplicating the effect of the expression in...
Mark Mitchell [Tue, 28 Apr 1998 13:24:00 +0000 (13:24 +0000)]
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

26 years agoPatch from Ian Taylor. Clarify MIPS -membedded-pic documentation.
Jim Wilson [Tue, 28 Apr 1998 12:13:37 +0000 (05:13 -0700)]
Patch from Ian Taylor.  Clarify MIPS -membedded-pic documentation.

From-SVN: r19468

26 years agoAt the suggestion of Richard Earnshaw I have changed GO_IF_LEGITIMATE_ADDRESS...
Nick Clifton [Tue, 28 Apr 1998 08:26:56 +0000 (08:26 +0000)]
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

26 years ago* decl2.c (ambiguous_decl): Fix NAME parm to be a tree, not int.
Brendan Kehoe [Tue, 28 Apr 1998 07:33:51 +0000 (07:33 +0000)]
* decl2.c (ambiguous_decl): Fix NAME parm to be a tree, not int.

From-SVN: r19466

26 years agoupdate m32r port
Michael Meissner [Tue, 28 Apr 1998 05:58:21 +0000 (05:58 +0000)]
update m32r port

From-SVN: r19465

26 years agoFixup --enable-target-optspace
Michael Meissner [Tue, 28 Apr 1998 04:36:18 +0000 (04:36 +0000)]
Fixup --enable-target-optspace

From-SVN: r19464

26 years agoAdd mt-ospace
Michael Meissner [Tue, 28 Apr 1998 04:33:46 +0000 (04:33 +0000)]
Add mt-ospace

From-SVN: r19463

26 years agoBounce the ftnint argument through a local time_t.
Richard Henderson [Mon, 27 Apr 1998 23:00:10 +0000 (16:00 -0700)]
Bounce the ftnint argument through a local time_t.

From-SVN: r19460

26 years ago* libU77/ltime_.c: Bounce the ftnint argument through a local time_t.
Richard Henderson [Mon, 27 Apr 1998 22:53:54 +0000 (15:53 -0700)]
* libU77/ltime_.c: Bounce the ftnint argument through a local time_t.

From-SVN: r19457

26 years agoOne more try at correct paths to f771 headers.
Richard Henderson [Mon, 27 Apr 1998 22:46:10 +0000 (15:46 -0700)]
One more try at correct paths to f771 headers.

From-SVN: r19456

26 years agoMakefile.in (libgcc2.ready): Revert last patch (Apr 24).
Manfred Hollstein [Mon, 27 Apr 1998 22:27:25 +0000 (22:27 +0000)]
Makefile.in (libgcc2.ready): Revert last patch (Apr 24).

8
* Makefile.in (libgcc2.ready): Revert last patch (Apr 24).

From-SVN: r19455

26 years agoMakefile.in (libgcc2.ready): Revert last patch (Apr 24).
Manfred Hollstein [Mon, 27 Apr 1998 22:27:23 +0000 (22:27 +0000)]
Makefile.in (libgcc2.ready): Revert last patch (Apr 24).


* Makefile.in (libgcc2.ready): Revert last patch (Apr 24).

From-SVN: r19454

26 years agoInitial revision
Jeff Law [Mon, 27 Apr 1998 22:11:44 +0000 (16:11 -0600)]
Initial revision

From-SVN: r19451

26 years agoInitial revision
Jeff Law [Mon, 27 Apr 1998 21:53:17 +0000 (15:53 -0600)]
Initial revision

From-SVN: r19448

26 years agoInitial revision
Jeff Law [Mon, 27 Apr 1998 21:12:32 +0000 (15:12 -0600)]
Initial revision

From-SVN: r19445

26 years agoInitial revision
Jeff Law [Mon, 27 Apr 1998 21:11:12 +0000 (15:11 -0600)]
Initial revision

From-SVN: r19444

26 years agoInitial revision
Jeff Law [Mon, 27 Apr 1998 21:10:27 +0000 (15:10 -0600)]
Initial revision

From-SVN: r19443

26 years agoInitial revision
Jeff Law [Mon, 27 Apr 1998 21:08:51 +0000 (15:08 -0600)]
Initial revision

From-SVN: r19442

26 years agoInitial revision
Jeff Law [Mon, 27 Apr 1998 21:08:00 +0000 (15:08 -0600)]
Initial revision

From-SVN: r19441

26 years agoInitial revision
Jeff Law [Mon, 27 Apr 1998 21:07:41 +0000 (15:07 -0600)]
Initial revision

From-SVN: r19440

26 years agoInitial revision
Jeff Law [Mon, 27 Apr 1998 21:03:02 +0000 (15:03 -0600)]
Initial revision

From-SVN: r19439

26 years agoInitial revision
Jeff Law [Mon, 27 Apr 1998 21:02:41 +0000 (15:02 -0600)]
Initial revision

From-SVN: r19438

26 years agoFix for x86 FP problem.
Jim Wilson [Mon, 27 Apr 1998 19:24:06 +0000 (19:24 +0000)]
Fix for x86 FP problem.

* reg-stack.c: Revert last patch (Apr 20).
(convert_regs): Set insn to PREV_INSN (next) after do while loop.

From-SVN: r19437

26 years agoFix coldfire addsf3 bug, bug and patch from David Fiddes.
Jim Wilson [Mon, 27 Apr 1998 18:41:40 +0000 (18:41 +0000)]
Fix coldfire addsf3 bug, bug and patch from David Fiddes.

* m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.

From-SVN: r19436

26 years agoFix hppa miscompilation bug reported by Manfred Hollstein.
Jim Wilson [Mon, 27 Apr 1998 18:39:07 +0000 (18:39 +0000)]
Fix hppa miscompilation bug reported by Manfred Hollstein.

* loop.c (check_dbra_loop): New locals jump, first_compare, and
compare_and_branch.  Call get_condition to set first_compare.
Set compare_and_branch to number of compare/branch instructions.
Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
Replace '2' with compare_and_branch.

From-SVN: r19435

26 years agodecl.c (maybe_push_to_top_level): Always clear current_template_parms and processing_...
Mark Mitchell [Mon, 27 Apr 1998 14:02:45 +0000 (14:02 +0000)]
decl.c (maybe_push_to_top_level): Always clear current_template_parms and processing_template_decl.

* decl.c (maybe_push_to_top_level): Always clear
current_template_parms and processing_template_decl.
(pushtag): Remove check of current_class_type and some comments,
since maybe_push_to_top_level no longer creates confusion.

From-SVN: r19434

26 years agocplus-dem.c (demangle_qualified): Add a missing else which caused qualified...
Andrew MacLeod [Mon, 27 Apr 1998 12:59:51 +0000 (12:59 +0000)]
cplus-dem.c (demangle_qualified): Add a missing else which caused qualified...

cplus-dem.c (demangle_qualified): Add a missing else which caused
qualified names with temp,\7flates to be demangled improperly.

From-SVN: r19433

26 years ago* sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
J"orn Rennecke [Mon, 27 Apr 1998 12:25:51 +0000 (12:25 +0000)]
* sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.

From-SVN: r19432

26 years agoComment about fix.
Dave Love [Mon, 27 Apr 1998 11:19:46 +0000 (11:19 +0000)]
Comment about fix.

From-SVN: r19431

26 years agosh.c (sh_expand_prologue, [...]): If TARGET_DOUBLE_ALIGN, preserve 64 bit stack align...
J"orn Rennecke [Mon, 27 Apr 1998 10:26:39 +0000 (10:26 +0000)]
sh.c (sh_expand_prologue, [...]): If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.

        * sh.c (sh_expand_prologue, sh_expand_epilogue):
        If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
        * sh.h (STACK_BOUNDARY): Likewise.

From-SVN: r19430

26 years agohostnm_.c (G77_hostnm_0): Fix off-by-one error that was trashing the byte just beyond...
Craig Burley [Mon, 27 Apr 1998 10:22:25 +0000 (10:22 +0000)]
hostnm_.c (G77_hostnm_0): Fix off-by-one error that was trashing the byte just beyond the CHARACTER*(*)...

Sun Apr 26 09:13:41 1998  Craig Burley  <burley@gnu.org>
* libU77/hostnm_.c (G77_hostnm_0): Fix off-by-one error
that was trashing the byte just beyond the CHARACTER*(*)
argument.

From-SVN: r19429

26 years agoupdate
Jason Merrill [Mon, 27 Apr 1998 10:19:31 +0000 (06:19 -0400)]
update

From-SVN: r19428

26 years ago(G77_hostnm_0): Fix off-by-one error
Craig Burley [Mon, 27 Apr 1998 10:11:57 +0000 (10:11 +0000)]
(G77_hostnm_0): Fix off-by-one error
that was trashing the byte just beyond the CHARACTER*(*)
argument.

From-SVN: r19427

26 years agoNew test.
Dave Love [Mon, 27 Apr 1998 10:06:28 +0000 (10:06 +0000)]
New test.

From-SVN: r19426

26 years ago* g77.f-torture/compile/980427-0.f: New test.
Dave Love [Mon, 27 Apr 1998 10:03:37 +0000 (10:03 +0000)]
* g77.f-torture/compile/980427-0.f: New test.

From-SVN: r19425

26 years ago* sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
J"orn Rennecke [Mon, 27 Apr 1998 09:26:21 +0000 (09:26 +0000)]
* sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.

From-SVN: r19424

26 years agoRedefine abort to report linenumber and filename of the error
Michael Meissner [Mon, 27 Apr 1998 08:49:53 +0000 (08:49 +0000)]
Redefine abort to report linenumber and filename of the error

From-SVN: r19423

26 years agoFix a warning
Michael Meissner [Mon, 27 Apr 1998 06:20:13 +0000 (06:20 +0000)]
Fix a warning

From-SVN: r19422

26 years agoMake args to jump_optimize symbolic
Michael Meissner [Mon, 27 Apr 1998 06:05:55 +0000 (06:05 +0000)]
Make args to jump_optimize symbolic

From-SVN: r19421

26 years agoalpha.h (CONST_COSTS): Zero is always free.
Richard Henderson [Sun, 26 Apr 1998 23:21:55 +0000 (16:21 -0700)]
alpha.h (CONST_COSTS): Zero is always free.

* alpha.h (CONST_COSTS): Zero is always free.
(RTX_COSTS): Add EV6 costs.  Abort if alpha_cpu is unknown.

From-SVN: r19420

26 years agoconfigure.in: Adjust include paths in F2C_INTEGER and F2C_LONGINT tests to work out...
Richard Henderson [Sun, 26 Apr 1998 18:09:12 +0000 (11:09 -0700)]
configure.in: Adjust include paths in F2C_INTEGER and F2C_LONGINT tests to work out of the...

* configure.in: Adjust include paths in F2C_INTEGER and F2C_LONGINT
tests to work out of the build directory.

From-SVN: r19419

26 years agocp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.
Mark Mitchell [Sun, 26 Apr 1998 16:30:11 +0000 (16:30 +0000)]
cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.

* cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.
(DECL_CLASS_TEMPLATE_P): Likewise.
(DECL_PRIMARY_TEMPLATE): Likewise.
(PRIMARY_TEMPLATE_P): Use it.
(push_template_decl_real): New function.
(redeclare_class_template): Take new template parameters as
input.
(is_specialization_of): New function.
(comp_template_args): Declare.
* decl.c (pushtag): Handle friend template classes.
(xref_tag): Likewise.  Use new calling convention for
redeclare_class_template.
* decl2.c (grok_x_components): Handle friend templates.
* friend.c (is_friend): Use is_specialization_of where
appropriate.  Deal with friend class templates.
(make_friend_class): Let a class template be friends with itself.
* pt.c (comp_template_args): Remove declaration.
(tsubst_friend_class): New function.
(push_template_decl_real): New function.
(push_template_decl): Use it.
(redeclare_class_template): Adjust for new calling convention.
(comp_template_args): Give it external linkage.
(instantiate_class_type): Use tsubst_friend_class to deal
with friend templates.
* typeck.c (comptypes): Use comp_template_args, rather than
expanding it inline.
* parse.y (component_decl): Handle a nested template type
like other component type declarations.

From-SVN: r19418

26 years agocplus-dem.c (gnu_special): Fix off-by-one bug when checking the length in the name...
Andreas Schwab [Sun, 26 Apr 1998 15:41:36 +0000 (15:41 +0000)]
cplus-dem.c (gnu_special): Fix off-by-one bug when checking the length in the name of a virtual table.

* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
length in the name of a virtual table.

From-SVN: r19417

26 years agonew
Jason Merrill [Sun, 26 Apr 1998 15:21:49 +0000 (11:21 -0400)]
new

From-SVN: r19416