]> gcc.gnu.org Git - gcc.git/log
gcc.git
26 years agoFix consistency error reported by Yotam Medini.
Jim Wilson [Thu, 23 Apr 1998 21:33:41 +0000 (21:33 +0000)]
Fix consistency error reported by Yotam Medini.

* configure: Set CXXFLAGS from CXXFLAGS, not CFLAGS.

From-SVN: r19392

26 years agoFix for execute/980205.c failure on SH[123].
J"orn Rennecke [Thu, 23 Apr 1998 20:57:06 +0000 (20:57 +0000)]
Fix for execute/980205.c failure on SH[123].

* sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
register for stdarg functions.
* sh.h (current_function_varargs): Declare.
(FUNCTION_ARG): Ignore NAMED for stdarg functions.

From-SVN: r19391

26 years agoPartial fix for problem reported by Don Bowman.
Jim Wilson [Thu, 23 Apr 1998 19:57:57 +0000 (19:57 +0000)]
Partial fix for problem reported by Don Bowman.

* frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
inhibit_libc is defined.

From-SVN: r19390

26 years agoFix macro usage error found by Martin von Loewis's checking patch.
Jim Wilson [Thu, 23 Apr 1998 19:52:46 +0000 (19:52 +0000)]
Fix macro usage error found by Martin von Loewis's checking patch.

* c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.

From-SVN: r19389

26 years agoFix gcov mips switch table interaction bug reported to bug-gcc.
Jim Wilson [Thu, 23 Apr 1998 19:10:52 +0000 (19:10 +0000)]
Fix gcov mips switch table interaction bug reported to bug-gcc.

* profile.c (tablejump_entry_p): New function.
(branch_prob): Add code to recognize MIPS tablejump entry branch.
Use tablejump_entry_p in MIPS and HPPA tablejump checking code.

From-SVN: r19388

26 years ago* pt.c (unify): Fix typo in previous change.
Mark Mitchell [Thu, 23 Apr 1998 17:32:02 +0000 (17:32 +0000)]
* pt.c (unify): Fix typo in previous change.

From-SVN: r19387

26 years agofind_barrier(): Return as soon as a BARRIER insn is found.
Nick Clifton [Thu, 23 Apr 1998 15:03:25 +0000 (15:03 +0000)]
find_barrier(): Return as soon as a BARRIER insn is found.

From-SVN: r19386

26 years agosh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
J"orn Rennecke [Thu, 23 Apr 1998 13:37:16 +0000 (13:37 +0000)]
sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.

* sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
* sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.

From-SVN: r19385

26 years ago* error.c (dump_type_real): Declare canonical_name.
Jason Merrill [Thu, 23 Apr 1998 09:35:38 +0000 (09:35 +0000)]
* error.c (dump_type_real): Declare canonical_name.

From-SVN: r19384

26 years ago* typeck.c (comp_target_types): Fix PMFs.
Jason Merrill [Thu, 23 Apr 1998 09:34:57 +0000 (09:34 +0000)]
* typeck.c (comp_target_types): Fix PMFs.

From-SVN: r19383

26 years agoAdd prototype
Mark Mitchell [Wed, 22 Apr 1998 21:06:37 +0000 (21:06 +0000)]
Add prototype

From-SVN: r19380

26 years ago*** empty log message ***
Mark Mitchell [Wed, 22 Apr 1998 21:02:15 +0000 (21:02 +0000)]
*** empty log message ***

From-SVN: r19379

26 years agopt.c (tsubst): Decrease the template-level of TEMPLATE_TEMPLATE_PARMS.
Mark Mitchell [Wed, 22 Apr 1998 21:02:01 +0000 (21:02 +0000)]
pt.c (tsubst): Decrease the template-level of TEMPLATE_TEMPLATE_PARMS.

 * pt.c (tsubst): Decrease the template-level of
 TEMPLATE_TEMPLATE_PARMS.  Likewise for the DECL_INITIAL of a
 TEMPLATE_PARM_INDEX.
 (template_decl_level): New function.
 (unify): Make sure to record unifications for template
 parameters, even when the parameters exactly match the arguments.
 Combine duplicated code for TEMPLATE_TEMPLATE_PARMs and
 TEMPLATE_TYPE_PARMS.  Don't try to unify template parameters that
 aren't from the level we're currently working on.

From-SVN: r19378

26 years agoAdd match_insn2; Fix prototype in loop.c
Michael Meissner [Wed, 22 Apr 1998 14:20:29 +0000 (14:20 +0000)]
Add match_insn2; Fix prototype in loop.c

From-SVN: r19377

26 years agoclass.c (finish_struct): Set TREE_PRIVATE and TREE_PROTECTED for the DECL_RESULTs...
Mark Mitchell [Wed, 22 Apr 1998 13:23:32 +0000 (13:23 +0000)]
class.c (finish_struct): Set TREE_PRIVATE and TREE_PROTECTED for the DECL_RESULTs of a member...

* class.c (finish_struct): Set TREE_PRIVATE and TREE_PROTECTED for
the DECL_RESULTs of a member TEMPLATE_DECL, not just the
TEMPLATE_DECL.

From-SVN: r19376

26 years agoemit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero if...
John Carr [Wed, 22 Apr 1998 12:57:04 +0000 (12:57 +0000)]
emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero if...

* emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
* final.c (split_double): Sign extend both halves of a split CONST_INT.

From-SVN: r19375

26 years agoAdd support for --enable-target-optspace to compile with -Os instead of -O2, and...
Michael Meissner [Wed, 22 Apr 1998 12:33:17 +0000 (12:33 +0000)]
Add support for --enable-target-optspace to compile with -Os instead of -O2, and default m32r to use it

From-SVN: r19374

26 years agomips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
Jeff Law [Wed, 22 Apr 1998 09:43:06 +0000 (03:43 -0600)]
mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.

        * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.

From-SVN: r19373

26 years agomips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
Jeff Law [Wed, 22 Apr 1998 09:43:04 +0000 (03:43 -0600)]
mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.


        * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.

From-SVN: r19372

26 years agocplus-dem.c: Add code to enable demangling of names produced with the -fsquangle...
Andrew MacLeod [Wed, 22 Apr 1998 08:04:13 +0000 (08:04 +0000)]
cplus-dem.c: Add code to enable demangling of names produced with the -fsquangle option.

* cplus-dem.c:  Add code to enable demangling of names produced
                with the -fsquangle option.

From-SVN: r19371

26 years ago* mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.
Andreas Schwab [Wed, 22 Apr 1998 01:54:53 +0000 (01:54 +0000)]
* mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.

From-SVN: r19370

26 years ago* decl2.c (grokfield): Remangle the name of a member TYPE_DECL.
Mark Mitchell [Tue, 21 Apr 1998 22:08:05 +0000 (22:08 +0000)]
* decl2.c (grokfield): Remangle the name of a member TYPE_DECL.

From-SVN: r19369

26 years agodecl2.c (check_member_template): Set DECL_IGNORED for member class templates, too.
Mark Mitchell [Tue, 21 Apr 1998 22:03:34 +0000 (22:03 +0000)]
decl2.c (check_member_template): Set DECL_IGNORED for member class templates, too.

* decl2.c (check_member_template): Set DECL_IGNORED for member
class templates, too.

From-SVN: r19368

26 years ago* errfn.c (cp_thing): Use xrealloc, not xmalloc, to copy memory.
Mark Mitchell [Tue, 21 Apr 1998 21:55:45 +0000 (21:55 +0000)]
* errfn.c (cp_thing): Use xrealloc, not xmalloc, to copy memory.

From-SVN: r19367

26 years ago*** empty log message ***
Benjamin Kosnik [Tue, 21 Apr 1998 19:45:53 +0000 (19:45 +0000)]
*** empty log message ***

From-SVN: r19366

26 years ago/
Benjamin Kosnik [Tue, 21 Apr 1998 19:45:53 +0000 (19:45 +0000)]
/
tests for g++/15307 and -Wredundant-decls

From-SVN: r19365

26 years agoFix fortran failure reported by Craig Burley.
Jim Wilson [Tue, 21 Apr 1998 19:43:55 +0000 (19:43 +0000)]
Fix fortran failure reported by Craig Burley.

* stmt.c (check_seenlabel): When search for line number note for
warning, handle case where there is no such note.

From-SVN: r19364

26 years agodecl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
Benjamin Kosnik [Tue, 21 Apr 1998 19:08:48 +0000 (19:08 +0000)]
decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.

* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
g++/15307 redux

From-SVN: r19363

26 years agodecl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
Benjamin Kosnik [Tue, 21 Apr 1998 19:08:46 +0000 (19:08 +0000)]
decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.

8
* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
g++/15307 redux

From-SVN: r19362

26 years ago* typeck.c (convert_for_assignment): Fix handling of pmfs.
Jason Merrill [Tue, 21 Apr 1998 18:05:35 +0000 (14:05 -0400)]
* typeck.c (convert_for_assignment): Fix handling of pmfs.

From-SVN: r19361

26 years ago(convert_for_assignment): Fix handling of pmfs.
Jason Merrill [Tue, 21 Apr 1998 18:05:17 +0000 (14:05 -0400)]
(convert_for_assignment): Fix handling of pmfs.

From-SVN: r19360

26 years agogenemit.c (gen_exp): Allow machine description to set mode of MATCH_OP_DUP.
John Carr [Tue, 21 Apr 1998 17:50:21 +0000 (17:50 +0000)]
genemit.c (gen_exp): Allow machine description to set mode of MATCH_OP_DUP.

* genemit.c (gen_exp): Allow machine description to set mode of
MATCH_OP_DUP.

From-SVN: r19359

26 years agomips.h (STACK_BOUNDARY): Allow specific targets to override.
Jeffrey A Law [Tue, 21 Apr 1998 15:00:15 +0000 (15:00 +0000)]
mips.h (STACK_BOUNDARY): Allow specific targets to override.

        * mips.h (STACK_BOUNDARY): Allow specific targets to override.
        (MIPS_STACK_ALIGN): Similarly.

From-SVN: r19358

26 years agoalias.c (mode_alias_check): New function.
John Carr [Tue, 21 Apr 1998 13:51:41 +0000 (13:51 +0000)]
alias.c (mode_alias_check): New function.

* alias.c (mode_alias_check): New function.
(true_dependence, anti_dependence, output_dependence): Call
mode_alias_check.

From-SVN: r19357

26 years agocp-tree.h (intTI_type_node, [...]): Declare.
Jeffrey A Law [Tue, 21 Apr 1998 13:27:12 +0000 (13:27 +0000)]
cp-tree.h (intTI_type_node, [...]): Declare.

        * cp-tree.h (intTI_type_node, unsigned_intTI_type_node): Declare.
        * decl.c (intTI_type_node, unsigned_intTI_type_node): Define.
        (init_decl_processing): Handle TI types.
        * typeck.c (unsigned_type, signed_type): Handle TI types.

From-SVN: r19356

26 years agoc-common.c (type_for_mode): Handle TI types.
Jeffrey A Law [Tue, 21 Apr 1998 13:25:56 +0000 (13:25 +0000)]
c-common.c (type_for_mode): Handle TI types.

        * c-common.c (type_for_mode): Handle TI types.
        * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
        (init_decl_processing): Handle TI types.
        * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.

From-SVN: r19355

26 years agomips.c (block_move_loop): Test Pmode == DImode instead of TARGET_MIPS64.
Jeffrey A Law [Tue, 21 Apr 1998 11:07:59 +0000 (11:07 +0000)]
mips.c (block_move_loop): Test Pmode == DImode instead of TARGET_MIPS64.

        * mips.c (block_move_loop): Test Pmode == DImode instead of
        TARGET_MIPS64.
        (expand_block_move, save_restore_insns): Likewise.
        (function_prologue, mips_expand_prologue): Likewise.
        (mips_expand_epilogue): Likewise.
        * mips.h (POINTER_SIZE): Allow specific targets to override.
        (Pmode): Allow specific targets to override.
        (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
        (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
        (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
        (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
        (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
        (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
        * mips.md (indirect, tablejump & casesi support): Test for
        Pmode == DImode instead of TARGET_MIPS64.
        (call patterns): Likewise.

From-SVN: r19354

26 years agoFixes a problem compiling on sparcs where STRUCT_VALUE is defined in sparc.h to...
Kaveh R. Ghazi [Tue, 21 Apr 1998 06:50:07 +0000 (06:50 +0000)]
Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in sparc.h to...

Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in
sparc.h to use gen_rtx_MEM() and then evaluated in an #if directive in
sendmsg.c.
        * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
        for gen_rtx(MEM, ...).

From-SVN: r19353

26 years agosparc.h (MACHINE_STATE_SAVE, [...]): Rewrite to not be so gross, and to properly...
Richard Henderson [Tue, 21 Apr 1998 02:24:02 +0000 (19:24 -0700)]
sparc.h (MACHINE_STATE_SAVE, [...]): Rewrite to not be so gross, and to properly function with PIC.

* sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
to not be so gross, and to properly function with PIC.

From-SVN: r19352

26 years agoFix BSD/OS build error reported by Shigeya Suzuk.
Jim Wilson [Mon, 20 Apr 1998 21:12:00 +0000 (21:12 +0000)]
Fix BSD/OS build error reported by Shigeya Suzuk.

* frame.c (heapsort): Rename to frame_heapsort.

From-SVN: r19351

26 years agoFix i386-* failure that shows up as a cpp usage message.
Jim Wilson [Mon, 20 Apr 1998 20:51:02 +0000 (20:51 +0000)]
Fix i386-* failure that shows up as a cpp usage message.

* gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.

From-SVN: r19350

26 years ago* flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
Doug Evans [Mon, 20 Apr 1998 16:42:50 +0000 (16:42 +0000)]
* flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.

From-SVN: r19347

26 years agoPatch from John Wehle to fix movxf_push spill reg allocation failure.
John Wehle [Mon, 20 Apr 1998 15:06:40 +0000 (15:06 +0000)]
Patch from John Wehle to fix movxf_push spill reg allocation failure.

* i386.md (movsf_push, movdf_push, movxf_push): Allow memory
operands during and after reload.

From-SVN: r19346

26 years agoFormatting fix.
Joern Rennecke [Mon, 20 Apr 1998 14:43:51 +0000 (15:43 +0100)]
Formatting fix.

From-SVN: r19345

26 years agofinal.c (shorten_branches, [...]): Move code to free label_align...
J"orn Rennecke [Mon, 20 Apr 1998 14:40:04 +0000 (14:40 +0000)]
final.c (shorten_branches, [...]): Move code to free label_align...

* final.c (shorten_branches, init_insn_lengths): Move code
to free label_align, uid_shuid, insn_lengths, insn_addresses
and uid_align from the former function into the latter one;
Add code to clear these variables.
* sh.h (label_align): Remove declaration.

From-SVN: r19344

26 years agoAdd extra protection in case strrchr already defined
Michael Meissner [Mon, 20 Apr 1998 13:30:32 +0000 (13:30 +0000)]
Add extra protection in case strrchr already defined

From-SVN: r19343

26 years agoFix warning when compiling g++.o
Michael Meissner [Mon, 20 Apr 1998 13:27:00 +0000 (13:27 +0000)]
Fix warning when compiling g++.o

From-SVN: r19342

26 years agoSwitch to strrchr if available instead of rindex
Michael Meissner [Mon, 20 Apr 1998 13:11:38 +0000 (13:11 +0000)]
Switch to strrchr if available instead of rindex

From-SVN: r19341

26 years agoFor movsf/movdf splits, let movsi define_split handle subword moves
Michael Meissner [Mon, 20 Apr 1998 11:54:40 +0000 (11:54 +0000)]
For movsf/movdf splits, let movsi define_split handle subword moves

From-SVN: r19340

26 years agoFix some problems that resulted in assmebler messages 'Error: pcrel too far'
J"orn Rennecke [Mon, 20 Apr 1998 10:59:18 +0000 (10:59 +0000)]
Fix some problems that resulted in assmebler messages 'Error: pcrel too far'

Fix some problems that resulted in assmebler messages 'Error: pcrel too far'
* sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
(split_branches): Call init_insn_lengths.

From-SVN: r19339

26 years agoInclude expr.h to get the change_address prototype declared.
Michael Meissner [Mon, 20 Apr 1998 07:41:41 +0000 (07:41 +0000)]
Include expr.h to get the change_address prototype declared.

From-SVN: r19338

26 years agoreg-stack.c (subst_asm_stack_regs): Change to return the last new insn generated...
H.J. Lu [Mon, 20 Apr 1998 00:01:15 +0000 (00:01 +0000)]
reg-stack.c (subst_asm_stack_regs): Change to return the last new insn generated by this function.

* reg-stack.c (subst_asm_stack_regs): Change to return the last
new insn generated by this function.
(subst_stack_regs): Likewise.
(convert_regs): Record the last newly generated insn and use
it for change_stack () instead of INSN.

From-SVN: r19328

26 years agoNew test from HJ.
Jeff Law [Sun, 19 Apr 1998 23:40:30 +0000 (17:40 -0600)]
New test from HJ.

From-SVN: r19326

26 years ago* isgetline.cc (istream::get): Fix a typo.
H.J. Lu [Sun, 19 Apr 1998 21:14:32 +0000 (21:14 +0000)]
* isgetline.cc (istream::get): Fix a typo.

From-SVN: r19314

26 years ago* g77.f-torture/compile/980419-2.f (main): New test.
Dave Love [Sun, 19 Apr 1998 11:52:15 +0000 (11:52 +0000)]
* g77.f-torture/compile/980419-2.f (main): New test.

From-SVN: r19301

26 years agoNew test.
Dave Love [Sun, 19 Apr 1998 11:49:56 +0000 (11:49 +0000)]
New test.

From-SVN: r19300

26 years agofix-header.c (enum special_file): Undefine enumerators if they are already defined...
Manfred Hollstein [Sun, 19 Apr 1998 06:48:08 +0000 (06:48 +0000)]
fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.

a
* fix-header.c (enum special_file): Undefine enumerators if they
are already defined by include files.
* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
macro with '__' to not pollute user namespace.

From-SVN: r19298

26 years agofix-header.c (enum special_file): Undefine enumerators if they are already defined...
Manfred Hollstein [Sun, 19 Apr 1998 06:48:07 +0000 (06:48 +0000)]
fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.

d
* fix-header.c (enum special_file): Undefine enumerators if they
are already defined by include files.
* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
macro with '__' to not pollute user namespace.

From-SVN: r19297

26 years agofix-header.c (enum special_file): Undefine enumerators if they are already defined...
Manfred Hollstein [Sun, 19 Apr 1998 06:48:05 +0000 (06:48 +0000)]
fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.


* fix-header.c (enum special_file): Undefine enumerators if they
are already defined by include files.
* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
macro with '__' to not pollute user namespace.

From-SVN: r19296

26 years ago970125-0.f: New test.
Dave Love [Sun, 19 Apr 1998 05:59:43 +0000 (05:59 +0000)]
970125-0.f: New test.

        * g77.f-torture/compile/970125-0.f: New test.
        * g77.f-torture/compile/980419-1.f: New test.

From-SVN: r19295

26 years agoNew File.
Dave Love [Sun, 19 Apr 1998 05:54:09 +0000 (05:54 +0000)]
New File.

From-SVN: r19294

26 years ago* haifa-sched.c (queue_to_ready): Fix typo in prototype.
Richard Henderson [Sun, 19 Apr 1998 02:45:34 +0000 (19:45 -0700)]
* haifa-sched.c (queue_to_ready): Fix typo in prototype.

From-SVN: r19293

26 years agoBump for snapshot
Jeffrey A Law [Sat, 18 Apr 1998 23:52:37 +0000 (17:52 -0600)]
Bump for snapshot

From-SVN: r19291

26 years agoi386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
Jeff Law [Sat, 18 Apr 1998 22:19:52 +0000 (16:19 -0600)]
i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.

* i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.

From-SVN: r19287

26 years agoi386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
Jeff Law [Sat, 18 Apr 1998 22:19:50 +0000 (16:19 -0600)]
i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.

* i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.

From-SVN: r19286

26 years agoPatch from Ulrich to fix problems with default CPU defines.
Jim Wilson [Sat, 18 Apr 1998 18:36:11 +0000 (18:36 +0000)]
Patch from Ulrich to fix problems with default CPU defines.

* i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
Add missing -Dpentium* options.
(CPP_CPU_SPEC): Delete redundant definition.  Include cpp_cpu_default
instead of CPP_CPU_DEFAULT.
(EXTRA_SPECS): Add entry for cpp_cpu_default.

From-SVN: r19284

26 years agors6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be negative in a stackless...
David Edelsohn [Sat, 18 Apr 1998 16:16:02 +0000 (16:16 +0000)]
rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be negative in a stackless frame.

        * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
        negative in a stackless frame.
        * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
        in stackless frame size.  Support 64-bit stackless frame size.
        Combine fpmem offset calculations and don't add total_size to
        offset if not pushing a stack frame.

From-SVN: r19283

26 years agoFix regmove typos spotted by H.J. Lu.
Jim Wilson [Sat, 18 Apr 1998 15:42:48 +0000 (15:42 +0000)]
Fix regmove typos spotted by H.J. Lu.

* regmove.c (fixup_match_1): In three places, in flag_exceptions
check, change p to q.

From-SVN: r19282

26 years agoPatches to make g++/g77 give useful error when no files are given.
Jim Wilson [Sat, 18 Apr 1998 15:31:36 +0000 (15:31 +0000)]
Patches to make g++/g77 give useful error when no files are given.

* gcc.c (lang_specific_driver): Add new parm type to prototype.
(added_libraries): New file scope static variable.
(process_command): Initialize added_libraries.  Pass it to
lang_specific_driver.
(main): Use added_libraries in check for no input files.

From-SVN: r19281

26 years agoPatches to give useful error when no files given.
Jim Wilson [Sat, 18 Apr 1998 15:30:09 +0000 (15:30 +0000)]
Patches to give useful error when no files given.

* g77spec.c (lang_specific_driver): New argument in_added_libraries.
New local added_libraries.  Increment count when add library to
arglist.

From-SVN: r19280

26 years agoPatches to give useful error when no files specified.
Jim Wilson [Sat, 18 Apr 1998 15:26:22 +0000 (15:26 +0000)]
Patches to give useful error when no files specified.

* g++spec.c (lang_specific_driver): New argument in_added_libraries.
New local added_libraries.  Increment count when add library to
arglist.

From-SVN: r19279

26 years agosparc.c, [...]: Many changes related to V9 code generation.
John Carr [Sat, 18 Apr 1998 01:24:59 +0000 (01:24 +0000)]
sparc.c, [...]: Many changes related to V9 code generation.

Sat Apr 18 01:23:11 1998  John Carr  <jfc@mit.edu>
        * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
        code generation.  Use 64 bit instructions in 32 bit mode when
        possible.  Use V9 return instruction.  UltraSPARC optimizations.
        * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.

From-SVN: r19278

26 years agoNew test
Mark Mitchell [Sat, 18 Apr 1998 01:12:22 +0000 (01:12 +0000)]
New test

From-SVN: r19277

26 years agoglobal.c (global_alloc): Don't pass HARD_CONST (0) to find_reg, just pass zero.
Jeffrey A Law [Sat, 18 Apr 1998 01:02:04 +0000 (01:02 +0000)]
global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg, just pass zero.

        * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
        just pass zero.  That will work regardless of the size of HARD_REG_SET.

From-SVN: r19276

26 years agolibgcc2.c (__floatdisf): Fix a couple typos.
Jeff Law [Fri, 17 Apr 1998 21:39:12 +0000 (15:39 -0600)]
libgcc2.c (__floatdisf): Fix a couple typos.

8
        * libgcc2.c (__floatdisf): Fix a couple typos.

From-SVN: r19275

26 years agolibgcc2.c (__floatdisf): Fix a couple typos.
Jeff Law [Fri, 17 Apr 1998 21:39:10 +0000 (15:39 -0600)]
libgcc2.c (__floatdisf): Fix a couple typos.


        * libgcc2.c (__floatdisf): Fix a couple typos.

From-SVN: r19274

26 years agocp-tree.h (type_as_string_real): New function.
Mark Mitchell [Fri, 17 Apr 1998 21:25:38 +0000 (21:25 +0000)]
cp-tree.h (type_as_string_real): New function.

Fri Apr 17 21:25:00 1998  Mark Mitchell  <mmitchell@usa.net>
* cp-tree.h (type_as_string_real): New function.
* pt.c (mangle_class_name_for_template): Use it.
* error.c (dump_aggr_type): Change prototype.
(dump_type_prefix): Likewise.
(dump_type_suffix): Likewise.
(dump_type_real): Convert from dump_type.  If desired, the
"canonica" name of a typedef, i.e., the name of the underlying
type, can be printed.
(dump_type): Call dump_type_real.

From-SVN: r19273

26 years agoFix `make clean' bug with -da files.
Jim Wilson [Fri, 17 Apr 1998 17:31:30 +0000 (17:31 +0000)]
Fix `make clean' bug with -da files.

* Makefile.in (mostlyclean): Delete *.mach and *.bp files.

From-SVN: r19272

26 years ago* emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
Greg McGary [Fri, 17 Apr 1998 16:35:07 +0000 (16:35 +0000)]
* emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.

From-SVN: r19271

26 years agoredo
Jason Merrill [Fri, 17 Apr 1998 15:52:17 +0000 (11:52 -0400)]
redo

From-SVN: r19270

26 years agorevert
Jason Merrill [Fri, 17 Apr 1998 15:32:57 +0000 (11:32 -0400)]
revert

From-SVN: r19269

26 years agodecl2.c (lang_decode_option): -fnew-abi implies -fvtable-thunks.
Jason Merrill [Fri, 17 Apr 1998 15:29:46 +0000 (11:29 -0400)]
decl2.c (lang_decode_option): -fnew-abi implies -fvtable-thunks.

* decl2.c (lang_decode_option): -fnew-abi implies -fvtable-thunks.
* typeck.c (comp_target_types): Tweak pedantic case.
(comp_target_parms): Tweak pedantic case.  Clean up somewhat.
Return -1 or 1 instead of 1 or 2.
(compparms): Remove STRICT handling.
* typeck.c (comp_target_types): Handle references like pointers.
(comp_target_parms): Note that return code from comp_target_types
can be negative to indicate failure.

From-SVN: r19268

26 years agoPatch from John Carr to fix sparc v9 failure.
John Carr [Fri, 17 Apr 1998 14:41:49 +0000 (14:41 +0000)]
Patch from John Carr to fix sparc v9 failure.

* emit-rtl.c (operand_subword_force): If a register can not be
accessed by words, copy it to a pseudo register.

From-SVN: r19267

26 years agoFix vxworks-ppc build failure reported by SXTHREE.
Jim Wilson [Fri, 17 Apr 1998 14:32:23 +0000 (14:32 +0000)]
Fix vxworks-ppc build failure reported by SXTHREE.

* rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.

From-SVN: r19266

26 years agoDelete mark_seen_cases declaration
Michael Meissner [Fri, 17 Apr 1998 14:02:51 +0000 (14:02 +0000)]
Delete mark_seen_cases declaration

From-SVN: r19265

26 years agostmt.c (mark_seen_cases): Make static and add prototype.
Jeff Law [Fri, 17 Apr 1998 12:32:43 +0000 (06:32 -0600)]
stmt.c (mark_seen_cases): Make static and add prototype.

8
        * stmt.c (mark_seen_cases): Make static and add prototype.

From-SVN: r19264

26 years agostmt.c (mark_seen_cases): Make static and add prototype.
Jeff Law [Fri, 17 Apr 1998 12:32:41 +0000 (06:32 -0600)]
stmt.c (mark_seen_cases): Make static and add prototype.


        * stmt.c (mark_seen_cases): Make static and add prototype.

From-SVN: r19263

26 years agoTypos in last checkin.
Jeff Law [Fri, 17 Apr 1998 08:32:50 +0000 (02:32 -0600)]
Typos in last checkin.

From-SVN: r19262

26 years agoZap some warnings in target files:
Kaveh R. Ghazi [Fri, 17 Apr 1998 08:26:33 +0000 (08:26 +0000)]
Zap some warnings in target files:

        * frame.c: Include stdlib.h and unistd.h to possibly get various
        function prototypes.  The fixproto script guarantees these header
        files exist on the target system.
        * libgcc2.c: Likewise.
        * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
        __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
        function parameters.
        * libgcc2.c (__udiv_w_sdiv): Likewise.

From-SVN: r19261

26 years agoMake-lang.in (c++.all.build): Don't depend on $(DEMANGLER_PROG)...
Andreas Schwab [Fri, 17 Apr 1998 08:12:14 +0000 (08:12 +0000)]
Make-lang.in (c++.all.build): Don't depend on $(DEMANGLER_PROG)...

        * Make-lang.in (c++.all.build): Don't depend on $(DEMANGLER_PROG),
        which requires a working target compiler to build.

From-SVN: r19260

26 years agotree.c (avoid_overlap): Add prototype.
Jeffrey A Law [Fri, 17 Apr 1998 08:05:26 +0000 (08:05 +0000)]
tree.c (avoid_overlap): Add prototype.

        * tree.c (avoid_overlap): Add prototype.
        * spew.c (num_tokens): Add prototype.
        (nth_noken, add_token, consume_token, debug_yychar): Likewise.
        * search.c (dfs_check_overlap): Add prototype.
        (dfs_no_overlap_yet): Likewise.
        * pt.c (original_template): Add prototype.
        (inline_needs_template_parms): Likewise.
        (push_inline_template_parms_recursive): Likewise.
        (retrieve_specialization, register_specialization): Likewise.
        (print_candidates, reduce_template_parm_level): Likewise.
        (build_template_decl, mark_template_parm): Likewise.
        (tsubst_friend_function, get_bindings_real): Likewise.
        * method.c (start_squangling): Add prototype.
        (end_squangling, check_ktype, issue_ktype): Likewise.
        (build_overloaded_scope_ref, check_btype): Likewise.
        (build_mangled_template_parm_index): Likewise.
        * lex.c (init_cpp_parse): Add prototype.
        (handle_cp_pragma, handle_sysv_pragma): Likewise.
        (reduce_cmp, token_cmp): Likewise.
        * except.c (call_eh_info): Add prototype.
        (push_eh_info, get_eh_info, get_eh_value, get_eh_type): Likewise.
        (get_eh_caught, get_eh_handlers, do_pop_exception): Likewise.
        * decl2.c (is_namespace_ancestor): Add prototype.
        (namespace_ancestor, add_using_namespace): Likewise.
        (ambiguous_decl): Likewise.
        * decl.c (indent): Add prototype.
        * call.c (add_template_candidate_real): Add prototype.

From-SVN: r19259

26 years agoTypo fix from mrs.
Jeff Law [Fri, 17 Apr 1998 07:52:26 +0000 (01:52 -0600)]
Typo fix from mrs.

From-SVN: r19258

26 years agoForgot to check in last night.
Jeffrey A Law [Fri, 17 Apr 1998 07:39:23 +0000 (07:39 +0000)]
Forgot to check in last night.

From-SVN: r19257

26 years ago* decl2.c (build_expr_from_tree): Just return a PMF.
Jason Merrill [Fri, 17 Apr 1998 01:57:57 +0000 (01:57 +0000)]
* decl2.c (build_expr_from_tree): Just return a PMF.

From-SVN: r19256

26 years agotypeck2.c (process_init_constructor): Don't strip cv-qualifiers when doing initializa...
Mark Mitchell [Fri, 17 Apr 1998 00:47:20 +0000 (00:47 +0000)]
typeck2.c (process_init_constructor): Don't strip cv-qualifiers when doing initializations.

* typeck2.c (process_init_constructor): Don't strip cv-qualifiers
when doing initializations.

From-SVN: r19255

26 years agovarasm.c (asm_output_bss): Add prototype.
Jeff Law [Fri, 17 Apr 1998 00:40:39 +0000 (18:40 -0600)]
varasm.c (asm_output_bss): Add prototype.

        * varasm.c (asm_output_bss): Add prototype.
        (asm_output_aligned_bss): Likewise.
        * unroll.c (verify_addresses): Add prototype.
        * toplev.c: Add many prototypes.  Too many to mention here.
        * stmt.c (check_seenlabel): Add prototype.
        * rtlanal.c (reg_set_p_1): Add prototype.
        (reg_set_last_1): Likewise.
        * reorg.c (find_dead_or_set_registers): Add prototype.
        * regmove (try_auto_increment): Add prototype.
        * regstack.c (pop_stack): Add prototype.

From-SVN: r19254

26 years agoForgot to commit with last batch of prototype changes.
Jeff Law [Fri, 17 Apr 1998 00:36:09 +0000 (18:36 -0600)]
Forgot to commit with last batch of prototype changes.

From-SVN: r19253

26 years agodecl.c (duplicate_decls): Fix check for when it's safe to free the new decl.
Jason Merrill [Fri, 17 Apr 1998 00:26:13 +0000 (00:26 +0000)]
decl.c (duplicate_decls): Fix check for when it's safe to free the new decl.

* decl.c (duplicate_decls): Fix check for when it's safe to free
the new decl.
* pt.c (mangle_class_name_for_template): Don't pass a typedef type
to type_as_string.
From Mark Mitchell:
(unify): Use comptypes to compare type args.

From-SVN: r19252

26 years agoloop.c (regs_patch_p): Add prototype.
Jeff Law [Thu, 16 Apr 1998 23:56:12 +0000 (17:56 -0600)]
loop.c (regs_patch_p): Add prototype.

        * loop.c (regs_patch_p): Add prototype.
        (add_label_notes, count_nonfixed_reads): Likewise.
        (find_single_use_in_loop): Likewise.
        (express_from): Surround prototype with #ifdef.
        (giv_sort): Similarly.
        * jump.c (mark_modified_reg): Add prototype.
        * haifa-sched.c (is_prisky): Add prototype.
        (queue_to_ready): Likewise.
        * genextract.c (gen_insn): Add prototype.
        * genemit.c (max_operand_1): Add prototype.
        (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
        (gen_expand, gen_explit, output_add_clobbers): Likewise.
        (output_init_mov_optab): Likewise.
        * genattrtab.c (attr_hash_add_rtx): Add prototype.
        (attr_hash_add_string, write_length_unit_log): Likewise.
        * genattr.c (init_range): Add prototype.
        * combine.c (sets_function_arg_p): Add prototype.

From-SVN: r19251

26 years agoexpr.c (store_constructor_field): Add prototype.
Jeff Law [Thu, 16 Apr 1998 23:07:05 +0000 (17:07 -0600)]
expr.c (store_constructor_field): Add prototype.

        * expr.c (store_constructor_field): Add prototype.
        (memory_use_mode): Likewise.
        * expmed.c (synth_mult): Add prototype.
        (choose_multiplier, invert_mod2n): Likewise.

From-SVN: r19250

This page took 0.094717 seconds and 5 git commands to generate.