]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
26 years agoInitial revision
Jeff Law [Sat, 16 May 1998 06:20:36 +0000 (00:20 -0600)] 
Initial revision

From-SVN: r19799

26 years agoTweak stuff, stuff2 rules.
Jeff Law [Sat, 16 May 1998 00:03:22 +0000 (18:03 -0600)] 
Tweak stuff, stuff2 rules.

Tweak stuff, stuff2 rules.  Sorry, Jason didn't provide any additional
detail about this change.

From-SVN: r19798

26 years agoMerge from Cygnus etc 1998-05-15.
Jeff Law [Fri, 15 May 1998 23:52:31 +0000 (17:52 -0600)] 
Merge from Cygnus etc 1998-05-15.

From-SVN: r19796

26 years agoUpdate from Cygnus libiberty.
Jeff Law [Fri, 15 May 1998 23:42:58 +0000 (17:42 -0600)] 
Update from Cygnus libiberty.

libiberty uses autoconf now.

From-SVN: r19791

26 years agoThis commit was generated by cvs2svn to compensate for changes in r19789,
Jeff Law [Fri, 15 May 1998 23:21:05 +0000 (17:21 -0600)] 
This commit was generated by cvs2svn to compensate for changes in r19789,

which included commits to RCS files with non-trunk default branches.

From-SVN: r19790

26 years agocplus-dem.c (cplus_demangle_opname): Initialize work.
Peter Schauer [Fri, 15 May 1998 23:02:07 +0000 (23:02 +0000)] 
cplus-dem.c (cplus_demangle_opname): Initialize work.

        * cplus-dem.c (cplus_demangle_opname):  Initialize work.
Bring over from devo.

From-SVN: r19787

26 years ago* i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
John Wehle [Fri, 15 May 1998 20:41:47 +0000 (20:41 +0000)] 
* i386.md (movdi-1, movdi): Rewrite based on SI move patterns.

From-SVN: r19786

26 years agodecl.c (start_decl): Revert problem change.
Jason Merrill [Fri, 15 May 1998 20:31:52 +0000 (20:31 +0000)] 
decl.c (start_decl): Revert problem change.

* decl.c (start_decl): Revert problem change.
* Makefile.in (CONFLICTS): Fix.

From-SVN: r19785

26 years agodecl.c (duplicate_decls): Clean up, add DECL_DATA_AREA bits.
Benjamin Kosnik [Fri, 15 May 1998 20:13:22 +0000 (20:13 +0000)] 
decl.c (duplicate_decls): Clean up, add DECL_DATA_AREA bits.

P
Fri May 15 15:34:02 1998  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
        * decl.c (duplicate_decls): Clean up, add DECL_DATA_AREA bits.
g++/15618

From-SVN: r19784

26 years agodecl.c (duplicate_decls): Clean up, add DECL_DATA_AREA bits.
Benjamin Kosnik [Fri, 15 May 1998 20:13:20 +0000 (20:13 +0000)] 
decl.c (duplicate_decls): Clean up, add DECL_DATA_AREA bits.


Fri May 15 15:34:02 1998  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
        * decl.c (duplicate_decls): Clean up, add DECL_DATA_AREA bits.
g++/15618

From-SVN: r19783

26 years ago* class.c (finish_struct_1): Use BINFO_SIZE.
Jason Merrill [Fri, 15 May 1998 20:03:17 +0000 (20:03 +0000)] 
* class.c (finish_struct_1): Use BINFO_SIZE.

From-SVN: r19782

26 years agotree.h (BINFO_SIZE, [...]): New macros.
Jason Merrill [Fri, 15 May 1998 18:56:11 +0000 (14:56 -0400)] 
tree.h (BINFO_SIZE, [...]): New macros.

* tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
* stor-layout.c (layout_record): Set it.
* toplev.c (rest_of_compilation): Don't defer nested functions.

From-SVN: r19781

26 years agoPatch from Bob Manson.
Bob Manson [Fri, 15 May 1998 17:44:21 +0000 (17:44 +0000)] 
Patch from Bob Manson.

* config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
to an 8-byte boundary if info_ptr->fpmem_p.

From-SVN: r19780

26 years agoPatch from Bill Moyer.
Bill Moyer [Fri, 15 May 1998 17:37:51 +0000 (17:37 +0000)] 
Patch from Bill Moyer.

        * loop.c (basic_induction_var): Added test preventing
        CCmode parameter passed to convert_modes().

From-SVN: r19779

26 years agoPatch from Alex Petit-Bianco.
Alexandre Petit-Bianco [Fri, 15 May 1998 17:32:40 +0000 (17:32 +0000)] 
Patch from Alex Petit-Bianco.

* expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
input_filename and lineno around expand_expr call.  Set them to values
in WFL before expand_expr call.

From-SVN: r19778

26 years agostor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
Benjamin Kosnik [Fri, 15 May 1998 12:50:30 +0000 (12:50 +0000)] 
stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.

`
Fri May 15 12:44:57 1998  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
* stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
fixes g++/15561

From-SVN: r19777

26 years agostor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
Benjamin Kosnik [Fri, 15 May 1998 12:50:28 +0000 (12:50 +0000)] 
stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.


Fri May 15 12:44:57 1998  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
* stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
fixes g++/15561

From-SVN: r19776

26 years agofold-const.c (constant_boolean_node): New function.
Mark Mitchell [Fri, 15 May 1998 07:19:38 +0000 (07:19 +0000)] 
fold-const.c (constant_boolean_node): New function.

* fold-const.c (constant_boolean_node): New function.
(fold): Use it.

From-SVN: r19775

26 years agoNew file.
Dave Love [Fri, 15 May 1998 06:23:01 +0000 (06:23 +0000)] 
New file.

From-SVN: r19774

26 years agomike-g77.exp: New file.
Dave Love [Fri, 15 May 1998 04:27:51 +0000 (04:27 +0000)] 
mike-g77.exp: New file.

1998-05-15  Dave Love  <d.love@dl.ac.uk>
* lib/mike-g77.exp: New file.
* g77.f-torture/noncompile/noncompile.exp,
g77.f-torture/noncompile/check0.f: New files.

From-SVN: r19773

26 years agosh.c (gen_shl_and): Don't sign extend constant for kind two.
J"orn Rennecke [Fri, 15 May 1998 03:26:52 +0000 (03:26 +0000)] 
sh.c (gen_shl_and): Don't sign extend constant for kind two.

* sh.c (gen_shl_and): Don't sign extend constant for kind two.
Abort if trying to split kind 3 or 4 outside of combine.

From-SVN: r19772

26 years agoNew file.
Dave Love [Fri, 15 May 1998 02:44:44 +0000 (02:44 +0000)] 
New file.

From-SVN: r19771

26 years agoregen
Jason Merrill [Fri, 15 May 1998 02:10:42 +0000 (22:10 -0400)] 
regen

From-SVN: r19770

26 years ago* mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
Jeffrey A Law [Fri, 15 May 1998 00:49:49 +0000 (00:49 +0000)] 
* mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.

From-SVN: r19769

26 years ago* decl.c (start_decl): Use 'tem'.
Jason Merrill [Fri, 15 May 1998 00:46:36 +0000 (00:46 +0000)] 
* decl.c (start_decl): Use 'tem'.

From-SVN: r19768

26 years ago* Make-lang.in (f77.mostlyclean): Add missing exeext.
Mumit Khan [Fri, 15 May 1998 00:45:22 +0000 (00:45 +0000)] 
* Make-lang.in (f77.mostlyclean): Add missing exeext.

From-SVN: r19767

26 years agoMake-lang.in (OBJC_O): Add missing exeext.
Mumit Khan [Fri, 15 May 1998 00:44:32 +0000 (00:44 +0000)] 
Make-lang.in (OBJC_O): Add missing exeext.

        * objc/Make-lang.in (OBJC_O): Add missing exeext.
        (libobjc.a, runtime-info.h): Likewise.

From-SVN: r19766

26 years agoi386.h (DATA_ALIGNMENT): Define.
John Wehle [Fri, 15 May 1998 00:29:27 +0000 (00:29 +0000)] 
i386.h (DATA_ALIGNMENT): Define.

        * i386.h (DATA_ALIGNMENT): Define.
Improve x86 FP performance.

From-SVN: r19765

26 years agoreload1.c (delete_output_reload): Ignore single USE that was emitted for the pseudo...
J"orn Rennecke [Thu, 14 May 1998 21:36:53 +0000 (21:36 +0000)] 
reload1.c (delete_output_reload): Ignore single USE that was emitted for the pseudo use of this INSN.

* reload1.c (delete_output_reload): Ignore single USE that
was emitted for the pseudo use of this INSN.
If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
remains, we can always delete OUTPUT_RELOAD_INSN.

From-SVN: r19762

26 years agoInitial revision
Jeff Law [Thu, 14 May 1998 19:57:15 +0000 (13:57 -0600)] 
Initial revision

From-SVN: r19757

26 years agoFix MIPS compiler abort on Mesa, reported by Andy Tai.
Jim Wilson [Thu, 14 May 1998 19:54:35 +0000 (12:54 -0700)] 
Fix MIPS compiler abort on Mesa, reported by Andy Tai.

* reload.c (find_reloads): Don't penalize SCRATCH output reload.

From-SVN: r19756

26 years agoFix MIPS compiler abort on Mesa, reported by Andy Tai.
Jim Wilson [Thu, 14 May 1998 18:41:51 +0000 (11:41 -0700)] 
Fix MIPS compiler abort on Mesa, reported by Andy Tai.

From-SVN: r19755

26 years agoMakefile.in (expr.o): Remove dependency on deleted modemap.def file.
Jeff Law [Thu, 14 May 1998 14:09:33 +0000 (08:09 -0600)] 
Makefile.in (expr.o): Remove dependency on deleted modemap.def file.


        * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.

From-SVN: r19748

26 years agoMakefile.in (expr.o): Remove dependency on deleted modemap.def file.
Jeff Law [Thu, 14 May 1998 14:09:31 +0000 (08:09 -0600)] 
Makefile.in (expr.o): Remove dependency on deleted modemap.def file.

8
        * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.

From-SVN: r19747

26 years agoFirst cut of changes to utilize the new exception handling model
Andrew MacLeod [Thu, 14 May 1998 13:39:15 +0000 (13:39 +0000)] 
First cut of changes to utilize the new exception handling model

From-SVN: r19746

26 years agoPatch from Gary McGary to fix i960 problem with out-of-range shifts.
Jim Wilson [Thu, 14 May 1998 13:00:18 +0000 (13:00 +0000)] 
Patch from Gary McGary to fix i960 problem with out-of-range shifts.

* i960.h (hard_regno_mode_ok): Changed to function from array of
  unsigned.
(HARD_REGNO_MODE_OK): Call function instead of testing bit.
* i960.c (hard_regno_mode_ok): Changed to function from array of
  unsigned.

From-SVN: r19745

26 years agotypeck.c (original_type): New function.
Brendan Kehoe [Thu, 14 May 1998 12:29:41 +0000 (12:29 +0000)] 
typeck.c (original_type): New function.

* typeck.c (original_type): New function.
(common_type): Use it to get the DECL_ORIGINAL_TYPE for T1 and T2,
to see if they're actually the same.
* cp-tree.h (original_type): Declare.
fix problem when you have multiple identical typedefs

From-SVN: r19744

26 years agoshort.f, [...]: Call abort where appropriate.
Dave Love [Thu, 14 May 1998 09:17:34 +0000 (09:17 +0000)] 
short.f, [...]: Call abort where appropriate.

* g77.f-torture/execute/short.f, g77.f-torture/execute/le.f,
g77.f-torture/execute/exp.f, g77.f-torture/execute/erfc.f,
g77.f-torture/execute/dnrm2.f, g77.f-torture/execute/dcomplex.f,
g77.f-torture/execute/cpp.F, g77.f-torture/execute/complex_1.f,
g77.f-torture/execute/claus.f, g77.f-torture/execute/cabs.f: Call
abort where appropriate.

From-SVN: r19743

26 years agoCall abort where appropriate.
Dave Love [Thu, 14 May 1998 09:00:31 +0000 (09:00 +0000)] 
Call abort where appropriate.

From-SVN: r19742

26 years agoAdd dmg address.
Dave Love [Thu, 14 May 1998 08:10:55 +0000 (08:10 +0000)] 
Add dmg address.

From-SVN: r19741

26 years ago[multiple changes]
Craig Burley [Thu, 14 May 1998 07:24:52 +0000 (07:24 +0000)] 
[multiple changes]

Sun Apr 26 09:05:50 1998  Craig Burley  <burley@gnu.org>
        * com.c (ffecom_char_enhance_arg_): Wrap the upper bound
        (the PARM_DECL specifying the length of the CHARACTER*(*)
        dummy arg) in a variable_size invocation, to prevent
        dwarf2out.c crashing when compiling code with -g.
Sat Apr 18 05:03:21 1998  Craig Burley  <burley@gnu.org>
        * com.c (ffecom_check_size_overflow_): Ignore overflow
        as well if dummy argument.

From-SVN: r19740

26 years ago[multiple changes]
Craig Burley [Thu, 14 May 1998 06:51:23 +0000 (06:51 +0000)] 
[multiple changes]

Sun Apr 26 09:05:50 1998  Craig Burley  <burley@gnu.org>
        * com.c (ffecom_char_enhance_arg_): Wrap the upper bound
        (the PARM_DECL specifying the length of the CHARACTER*(*)
        dummy arg) in a variable_size invocation, to prevent
        dwarf2out.c crashing when compiling code with -g.
Sat Apr 18 05:03:21 1998  Craig Burley  <burley@gnu.org>
        * com.c (ffecom_check_size_overflow_): Ignore overflow
        as well if dummy argument.

From-SVN: r19739

26 years agoDuplicated 980310-2.f.
Dave Love [Thu, 14 May 1998 02:32:14 +0000 (02:32 +0000)] 
Duplicated 980310-2.f.

From-SVN: r19737

26 years ago* loop.c (scan_loop): Don't call move_moveables for optimize_size.
J"orn Rennecke [Thu, 14 May 1998 00:50:07 +0000 (00:50 +0000)] 
* loop.c (scan_loop): Don't call move_moveables for optimize_size.

From-SVN: r19736

26 years agoreload.c (remove_replacements): New function.
J"orn Rennecke [Thu, 14 May 1998 00:44:02 +0000 (00:44 +0000)] 
reload.c (remove_replacements): New function.

* reload.c (remove_replacements): New function.
* reload.h (remove_replacements): Declare.
* reload1.c (choose_reload_regs): Disable some reloads that
belong to inherited reloads.

From-SVN: r19735

26 years agoNew testcase.
Jeff Law [Thu, 14 May 1998 00:20:07 +0000 (18:20 -0600)] 
New testcase.

From-SVN: r19734

26 years agortlanal.c (find_reg_note): Ignore notes that are not on on insns of class 'i'.
Michael Meissner [Wed, 13 May 1998 22:10:04 +0000 (22:10 +0000)] 
rtlanal.c (find_reg_note): Ignore notes that are not on on insns of class 'i'.

        * rtlanal.c (find_reg_note): Ignore notes that are not on on
        insns of class 'i'.
        (find_regno_note): Likewise.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r19733

26 years agoMakefile.in (stor-layout.o): Depend on except.h
Michael Meissner [Wed, 13 May 1998 21:33:25 +0000 (21:33 +0000)] 
Makefile.in (stor-layout.o): Depend on except.h

        * Makefile.in (stor-layout.o): Depend on except.h
        (varasm.o, function.o): Likewise.
        (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r19728

26 years agoMakefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
Michael Meissner [Wed, 13 May 1998 21:13:47 +0000 (21:13 +0000)] 
Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.

        * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
        (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
        ($(HOST_PREFIX_1)rtl.o): Likewise.
        ($(HOST_PREFIX_1)bitmap.o): New host object.
        * emit-rtl.c (toplevel): Include bitmap.h.
        (gen_rtx): Handle 't' and 'b' nodes.
        * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
        Print block number for block begin/end notes.  Print 't' type
        nodes as a pointer.  Know that the 3rd argument of live range
        start/stop notes is really a range_info rtx.  If type is 'b', print
        out argument as a bitmap.
        * rtl.c: Include bitmap.c.
        (copy_rtx): Copy tree nodes as is.  Copy bitmaps if type is 'b'.
        (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
        * rtl.def (RANGE_LIVE): New node to hold live information while we
        recalculate the basic blocks.
        (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
        (RANGE_VAR): New node, to hold information saved in symbol node for New
        communicating live range information to the debug output functions.
        * rtl.h (rtunion_def): Add rttree and rtbit fields.
        (XBITMAP, XTREE): New accessor macros.
        (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
        (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
        (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
        (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
        (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
        (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
        (RANGE_INFO_*): Likewise.
        * sched.c (sched_analyze): Keep live range start/stop notes.
        (unlink_other_notes): Likewise.
        * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
        (unlink_other_notes): Likewise.
        * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
        (BLOCK_LIVE_RANGE_FLAG): Likewise.
        (DECL_LIVE_RANGE_RTL): Likewise.
        (struct tree_block): Add live_range_flag, live_range_var_flag,
        live_range_start and live_range_end.
        (struct tree_decl): Add live_range_rtl field.
        * gengenrtl.c (type_from_format): Handle 'b' and 't'.
        (accessor_from_format): Likewise.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r19727

26 years agoreload1.c (merge_assigned_reloads): When merging, reset reload_spill_index for the...
J"orn Rennecke [Wed, 13 May 1998 18:19:03 +0000 (18:19 +0000)] 
reload1.c (merge_assigned_reloads): When merging, reset reload_spill_index for the eliminated reload.

* reload1.c (merge_assigned_reloads):  When merging, reset
reload_spill_index for the eliminated reload.

From-SVN: r19726

26 years ago* haifa-sched.c (schedule_insns): Fix merge goof.
Jeffrey A Law [Wed, 13 May 1998 16:52:15 +0000 (16:52 +0000)] 
* haifa-sched.c (schedule_insns): Fix merge goof.

From-SVN: r19725

26 years agoAdd a blank line in verbose debug output
Michael Meissner [Wed, 13 May 1998 15:32:22 +0000 (15:32 +0000)] 
Add a blank line in verbose debug output

From-SVN: r19724

26 years agoPatch to fix g++.other/local1.C.
Jim Wilson [Wed, 13 May 1998 14:04:15 +0000 (14:04 +0000)] 
Patch to fix g++.other/local1.C.

* varasm.c (make_decl_rtl): Revert April 1 change.
* alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
Get function name from the SYMBOL_REF in the DECL_RTL, not from
DECL_ASSEMBLER_NAME.
* i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
DECL_ASSEMBLER_NAME.

From-SVN: r19723

26 years agoDisable remaining cmov support just to be safe.
Jim Wilson [Wed, 13 May 1998 13:10:34 +0000 (13:10 +0000)] 
Disable remaining cmov support just to be safe.

* i386.c (notice_update_cc, output_float_compare): Disable
TARGET_CMOVE support.

From-SVN: r19722

26 years agoalign debug output
Michael Meissner [Wed, 13 May 1998 12:55:38 +0000 (12:55 +0000)] 
align debug output

From-SVN: r19721

26 years agoGrrr! ChangeLog omitted for last warning fix update.
Kaveh Ghazi [Wed, 13 May 1998 12:46:34 +0000 (12:46 +0000)] 
Grrr! ChangeLog omitted for last warning fix update.

From-SVN: r19720

26 years agoWarning fixes:
Kaveh R. Ghazi [Wed, 13 May 1998 12:40:39 +0000 (12:40 +0000)] 
Warning fixes:

* Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
(c-lex.o): Depend on output.h.
(c-common.o): Likewise.
(stmt.o): Likewise.
(calls.o): Likewise.
(integrate.o): Depend on toplev.h.
(regclass.o): Depend on output.h.
(final.o): Depend on reload.h.
* c-common.c: Include output.h.
(check_format_info): Remove unused variable `integral_format'.
* c-decl.c (print_lang_decl): Mark parameters `file', `node' and
`indent' with ATTRIBUTE_UNUSED.
(print_lang_type): Likewise.
(maybe_build_cleanup): Likewise for parameter `decl'.
(copy_lang_decl): Likewise for parameter `node'.
* c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
(lang_print_xnode): Mark parameters `file', `node' and `indent'
  with ATTRIBUTE_UNUSED.
(lookup_interface): Likewise for parameter `arg'.
(is_class_name): Likewise.
(maybe_objc_check_decl): Likewise for parameter `decl'.
(maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
`reflexive'.
(maybe_objc_method_name): Likewise for parameter `decl'.
(build_objc_string): Likewise for parameters `len' and `str'.
* c-lex.c: Include output.h.
* c-lex.h (position_after_white_space): Correct typo in prototype.
* c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
  c_expand_end_cond, init_iterators): Add prototypes.
* caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
with ATTRIBUTE_UNUSED.
* calls.c: Include output.h.
* cccp.c (pipe_closed): Mark parameter `signo' with
  ATTRIBUTE_UNUSED.
* combine.c: Move inclusion of expr.h to after insn-config.h.
* iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
as empty, rather define as ((void)0).
* sparc.c (sparc_check_64): Add braces around ambiguous `else'.
Add parentheses around assignment used as truth value.
* cplus-dem.c (squangle_mop_up): Change return type to void.
(internal_cplus_demangle): Remove unused parameter `options'.
All callers changed.
(cplus_demangle_opname): Remove function wide variable `int i' and
  replace with `size_t i' at each location where it is used.
(cplus_demangle_opname): change type of `i' from int to size_t.
* cppexp.c (right_shift): Mark parameter `pfile' with
ATTRIBUTE_UNUSED.
* cpphash.c (cpp_lookup): Likewise.
(cpp_hash_cleanup): Likewise.
* cpplib.c (parse_name): Add a prototype and make it static.
(null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
(null_cleanup): Likewise for parameters `pbuf' and `pfile'.
(macro_cleanup): Likewise for parameter `pfile'.
(file_cleanup): Likewise.
* cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
  cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
* crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
__DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
* cse.c (cse_check_loop_start): Mark parameter `set' with
  ATTRIBUTE_UNUSED.
* dbxout.c (flag_minimal_debug, have_used_extensions,
source_label_number): Move inside macro wrapper check against
defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
* dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
* except.h (doing_eh): Provide prototype.
* expr.c: Move inclusion of expr.h to after insn-config.h.
* final.c: Include reload.h.
(shorten_branches): Cast the first argument of bzero to char *.
* fix-header.c (cpp_print_containing_files): Mark parameter
  `pfile' with ATTRIBUTE_UNUSED.
(cpp_fatal): Likewise.
* flow.c (find_basic_blocks_1): Cast the first argument of bzero
to char *.
* genattrtab.c (make_length_attrs): Change the type of variable
`i' from int to size_t.
(zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
(one_fn): Likewise.
* genextract.c (main): When generating insn-extract.c, mark
variable `junk' with ATTRIBUTE_UNUSED.
* gengenrtl.c (gencode): When generating genrtl.c, cast the first
argument of bzero to char*.
* integrate.c: Include toplev.h.
* libgcc2.c: Wrap `struct exception_table' and
`find_exception_handler' in macro DWARF2_UNWIND_INFO.
* objc/Make-lang.in (objc-act.o): Depend on toplev.h.
* objc/objc-act.c: Include toplev.h.
(lang_print_xnode): Mark parameters `file', `node' and `indent'
with ATTRIBUTE_UNUSED.
(finish_protocol): Likewise for parameter `protocol'.
* output.h (declare_weak): Add prototype.
(decode_reg_name): Don't wrap with TREE_CODE macro.
(assemble_alias): Add prototype.
* regclass.c: Include output.h.
* reload.h (reloads_conflict): Add prototype.
* rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
output_func_start_profiler): Add prototypes.
* rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
  ATTRIBUTE_UNUSED.
* scan-decls.c: Include scan.h.
* scan.h (recognized_function, recognized_extern): Add prototypes.
* stmt.c: Include output.h.
* toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
(output_lang_identify): Hide prototype and definition.
(float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
(pipe_closed): Likewise.
* toplev.h (count_error, strip_off_ending, error_for_asm,
  warning_for_asm): Add prototypes.

From-SVN: r19712

26 years agotoplev.c (rest_of_compilation): "Charge" final for any time doing various cleanup...
Michael Meissner [Wed, 13 May 1998 12:26:49 +0000 (12:26 +0000)] 
toplev.c (rest_of_compilation): "Charge" final for any time doing various cleanup operations after finishing...

        * toplev.c (rest_of_compilation): "Charge" final for any time
        doing various cleanup operations after finishing compilation
        of a function.

From-SVN: r19711

26 years agoflow.c (dump_flow_info): Also print number of sets and whether or not the pseudo...
Michael Meissner [Wed, 13 May 1998 12:18:27 +0000 (12:18 +0000)] 
flow.c (dump_flow_info): Also print number of sets and whether or not the pseudo is a user variable.

        * flow.c (dump_flow_info): Also print number of sets and
        whether or not the pseudo is a user variable.

From-SVN: r19710

26 years agoReorganize last entry a little.
Jeff Law [Wed, 13 May 1998 12:14:49 +0000 (06:14 -0600)] 
Reorganize last entry a little.

From-SVN: r19709

26 years agoacconfig.h (ENABLE_CHECKING): Undefine.
Michael Meissner [Wed, 13 May 1998 11:57:25 +0000 (11:57 +0000)] 
acconfig.h (ENABLE_CHECKING): Undefine.

        * acconfig.h (ENABLE_CHECKING): Undefine.
        * configure.in (--enable-checking): New option.
        * flow.c (reg_n_max): New global variable.
        * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
        Delete regno_max variable.
        * regs.h (REG_N_CHECK): Define.
        (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
        (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
        (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.

Co-Authored-By: Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
From-SVN: r19708

26 years agoWarning patches:
Kaveh R. Ghazi [Wed, 13 May 1998 10:00:46 +0000 (10:00 +0000)] 
Warning patches:

        * Makefile.in (lex.o): Depend on output.h.
        * call.c (add_function_candidate): Remove unused variable `cand'.
        (add_conv_candidate): Likewise.
        (build_builtin_candidate): Likewise.
        * cp-tree.h: Add prototype for `types_overlap_p'.
        * decl.c (signal_catch): Mark parameter `sig' with ATTRIBUTE_UNUSED.
        * decl2.c (merge_functions): Remove unused variables `tmp' and
        `tempn'.
        * error.c (expr_as_string): Mark parameter `v' with ATTRIBUTE_UNUSED.
        (code_as_string): Likewise.
        (language_as_string): Likewise.
        (parm_as_string): Likewise.
        (op_as_string): Likewise.
        (assop_as_string): Likewise.
        (cv_as_string): Likewise.
        * lex.c: Include output.h.
        * pt.c (type_unification): Cast first argument of `bzero' to a char*.
        * search.c (dfs_no_overlap_yet): Mark parameter `t' with
        ATTRIBUTE_UNUSED.
        * tinfo.cc (__class_type_info::dcast): Change the type of variable
        `i' from int to size_t.
        * typeck.c (language_lvalue_valid): Mark parameter `exp' with
        ATTRIBUTE_UNUSED.

From-SVN: r19707

26 years agoreload1.c (merge_assigned_reloads): Can merge RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR...
J"orn Rennecke [Wed, 13 May 1998 00:53:59 +0000 (00:53 +0000)] 
reload1.c (merge_assigned_reloads): Can merge RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even if...

* reload1.c (merge_assigned_reloads):  Can merge
RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.

From-SVN: r19706

26 years agoerror.c (dump_simple_decl): Use DECL_CLASS_SCOPE_P and/or DECL_NAMESPACE_SCOPE_P.
Jason Merrill [Tue, 12 May 1998 21:42:34 +0000 (21:42 +0000)] 
error.c (dump_simple_decl): Use DECL_CLASS_SCOPE_P and/or DECL_NAMESPACE_SCOPE_P.

* error.c (dump_simple_decl): Use DECL_CLASS_SCOPE_P and/or
DECL_NAMESPACE_SCOPE_P.
(lang_decl_name): Likewise.
* pt.c (tsubst_friend_function, tsubst): Likewise.
* decl.c (pushdecl, redeclaration_error_message, start_decl,
cp_finish_decl, start_function): Likewise.
* class.c (finish_struct_1): Likewise.
* call.c (build_over_call): Likewise.
(compare_ics): Use DERIVED_FROM_P.

From-SVN: r19705

26 years agoFix aix --with-gnu-ld build failure reported by Brendan.
Jim Wilson [Tue, 12 May 1998 20:07:09 +0000 (20:07 +0000)] 
Fix aix --with-gnu-ld build failure reported by Brendan.

* collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.

From-SVN: r19704

26 years ago* reload1.c (gen_reload): Create REG_EQUIV notes.
J"orn Rennecke [Tue, 12 May 1998 19:28:01 +0000 (19:28 +0000)] 
* reload1.c (gen_reload): Create REG_EQUIV notes.

From-SVN: r19703

26 years agoreload1.c (reload): Fix check for USEs to use code of pattern.
J"orn Rennecke [Tue, 12 May 1998 14:25:14 +0000 (14:25 +0000)] 
reload1.c (reload): Fix check for USEs to use code of pattern.

* reload1.c (reload): Fix check for USEs to use code of pattern.
(choose_reload_regs): Remove dead variable use_insn.

From-SVN: r19702

26 years ago* pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
Jeffrey A Law [Tue, 12 May 1998 13:04:18 +0000 (13:04 +0000)] 
* pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.

From-SVN: r19701

26 years agoUse HAIFA_INLINE for inlining functions instead of __inline directly
Michael Meissner [Tue, 12 May 1998 12:20:18 +0000 (12:20 +0000)] 
Use HAIFA_INLINE for inlining functions instead of __inline directly

From-SVN: r19700

26 years ago* alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
Klaus Kaempf [Tue, 12 May 1998 10:27:46 +0000 (10:27 +0000)] 
* alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.

From-SVN: r19699

26 years ago* config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
Gavin Koch [Tue, 12 May 1998 08:46:52 +0000 (08:46 +0000)] 
* config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.

From-SVN: r19698

26 years agomips.md (dslot): Move after definition of "cpu" attribute.
Gavin Koch [Tue, 12 May 1998 08:41:11 +0000 (08:41 +0000)] 
mips.md (dslot): Move after definition of "cpu" attribute.

* config/mips/mips.md (dslot): Move after definition of "cpu"
attribute.  Handle r3900 case.

From-SVN: r19697

26 years agoConsolidate support for "String-ification" into system.h:
Kaveh R. Ghazi [Tue, 12 May 1998 07:36:02 +0000 (07:36 +0000)] 
Consolidate support for "String-ification" into system.h:

        * system.h: Define the STRINGIFY macro here.
        * protoize.c: Not here.
        * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.

From-SVN: r19696

26 years agocp-tree.h (CANONICAL_TYPE_VARIANT): New macro.
Mark Mitchell [Tue, 12 May 1998 07:27:15 +0000 (07:27 +0000)] 
cp-tree.h (CANONICAL_TYPE_VARIANT): New macro.

* cp-tree.h (CANONICAL_TYPE_VARIANT): New macro.
* method.c (build_mangled_name): Use it.
(build_decl_overload_real): Likewise.

From-SVN: r19695

26 years agoerror.c (dump_simple_decl): New function, broken out from ...
Mark Mitchell [Tue, 12 May 1998 07:23:31 +0000 (07:23 +0000)] 
error.c (dump_simple_decl): New function, broken out from ...

* error.c (dump_simple_decl): New function, broken out from ...
(dump_decl): Use it.

From-SVN: r19694

26 years agoSet emacs varaibles.
Jeff Law [Mon, 11 May 1998 23:49:19 +0000 (17:49 -0600)] 
Set emacs varaibles.

From-SVN: r19693

26 years agovarasm.c (assemble_variable): Compute the alignment of the data earlier so that both...
John Wehle [Mon, 11 May 1998 23:47:28 +0000 (23:47 +0000)] 
varasm.c (assemble_variable): Compute the alignment of the data earlier so that both initialized and...

        * varasm.c (assemble_variable): Compute the alignment of the data
        earlier so that both initialized and uninitialized variables are
        effected by DATA_ALIGNMENT.
        * tm.texi (DATA_ALIGNMENT): Updated appropriately.

From-SVN: r19692

26 years ago#
Jeff Law [Mon, 11 May 1998 23:00:52 +0000 (17:00 -0600)] 
#
* mpw-* Delete.  Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.

From-SVN: r19691

26 years agoT
Jeff Law [Mon, 11 May 1998 23:00:48 +0000 (17:00 -0600)] 
T
* mpw-* Delete.  Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.

From-SVN: r19690

26 years ago
Jeff Law [Mon, 11 May 1998 23:00:44 +0000 (17:00 -0600)] 

* mpw-* Delete.  Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.

From-SVN: r19689

26 years agol
Jeff Law [Mon, 11 May 1998 23:00:43 +0000 (17:00 -0600)] 
l
* mpw-* Delete.  Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.

From-SVN: r19688

26 years ago[multiple changes]
Jeff Law [Mon, 11 May 1998 22:49:29 +0000 (16:49 -0600)] 
[multiple changes]

Thu Feb 12 16:29:01 1998  Ian Lance Taylor  <ian@cygnus.com>
        * getopt.h: Update to latest FSF version.
Fri Nov  7 10:34:09 1997  Rob Savoye  <rob@darkstar.cygnus.com>
        * libiberty.h: Add extern "C" { so it can be used with C++
        programs.
Thu Aug 28 19:41:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
        * libiberty.h (dupargv): Add prototype.
Bring over from devo.

From-SVN: r19687

26 years agoconfig.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32 and mingw32.
Ian Lance Taylor [Mon, 11 May 1998 22:36:06 +0000 (22:36 +0000)] 
config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32 and mingw32.

        * config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32
        and mingw32.
Bring over from devo.

From-SVN: r19686

26 years ago[multiple changes]
Jeff Law [Mon, 11 May 1998 22:29:42 +0000 (16:29 -0600)] 
[multiple changes]

Sat Apr 11 22:43:17 1998  J. Kean Johnston  <jkj@sco.com>
        * mh-svsv5: New file - support for SCO UnixWare 7 / SVR5.
Thu Mar 26 01:54:25 1998  Geoffrey Noer  <noer@cygnus.com>
        * mh-cygwin32: stop configuring and building dosrel.
Bring over from devo.

From-SVN: r19685

26 years ago[multiple changes]
Jeff Law [Mon, 11 May 1998 22:04:43 +0000 (16:04 -0600)] 
[multiple changes]

Tue Mar 24 10:13:07 1998  Jason Merrill  <jason@yorick.cygnus.com>
        * std/bastring.cc (basic_string::copy): Mark const here, too.
1998-03-23 15:59  Ulrich Drepper  <drepper@cygnus.com>
        * std/bastring.h (basic_string::copy): Mark copy function as const.
        Reported by Scott Schurr <scotts@ims.com>.
Bring over from devo.

From-SVN: r19684

26 years agomips.c: Prototype static functions.
Jeff Law [Mon, 11 May 1998 19:00:08 +0000 (13:00 -0600)] 
mips.c: Prototype static functions.


        * mips.c: Prototype static functions.

From-SVN: r19681

26 years agomips.c: Prototype static functions.
Jeff Law [Mon, 11 May 1998 19:00:06 +0000 (13:00 -0600)] 
mips.c: Prototype static functions.


        * mips.c: Prototype static functions.

From-SVN: r19680

26 years agoBelongs here.
Jeff Law [Mon, 11 May 1998 18:29:19 +0000 (12:29 -0600)] 
Belongs here.

From-SVN: r19679

26 years agoIn the wrong directory.
Jeff Law [Mon, 11 May 1998 18:29:00 +0000 (12:29 -0600)] 
In the wrong directory.

From-SVN: r19678

26 years agoAdd missing comments pointed out by Andreas Schwab.
Jim Wilson [Mon, 11 May 1998 18:11:22 +0000 (18:11 +0000)] 
Add missing comments pointed out by Andreas Schwab.

* regmove.c (fixup_match_2, find_matches, regmove_profitable):
Add explanatory comments.

From-SVN: r19677

26 years agoPut the movzr insn back into the comment.
Richard Henderson [Mon, 11 May 1998 17:47:46 +0000 (10:47 -0700)] 
Put the movzr insn back into the comment.

From-SVN: r19676

26 years agoFix -mflat bug reported by Yamamoto Hirotaka.
Jim Wilson [Mon, 11 May 1998 17:44:31 +0000 (17:44 +0000)] 
Fix -mflat bug reported by Yamamoto Hirotaka.

* sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.

From-SVN: r19675

26 years ago* sparc.md (ffsdi2): Disable. Simplify the expression as well.
Richard Henderson [Mon, 11 May 1998 17:26:37 +0000 (10:26 -0700)] 
* sparc.md (ffsdi2): Disable.  Simplify the expression as well.

From-SVN: r19674

26 years agoFix stabs debug info bug reported by Stu Grossman.
Jim Wilson [Mon, 11 May 1998 13:31:35 +0000 (13:31 +0000)] 
Fix stabs debug info bug reported by Stu Grossman.

* varasm.c (make_decl_rtl): Disable April 1 change.

From-SVN: r19673

26 years agonew
Jason Merrill [Mon, 11 May 1998 11:57:04 +0000 (07:57 -0400)] 
new

From-SVN: r19672

26 years agoupdate documentation
Mark Mitchell [Mon, 11 May 1998 11:46:11 +0000 (11:46 +0000)] 
update documentation

From-SVN: r19671

26 years ago* ptree.c (lang_print_xnode): Add missing `break'.
Mark Mitchell [Mon, 11 May 1998 11:37:13 +0000 (11:37 +0000)] 
* ptree.c (lang_print_xnode): Add missing `break'.

From-SVN: r19670

26 years agoNew test
Mark Mitchell [Mon, 11 May 1998 11:02:58 +0000 (11:02 +0000)] 
New test

From-SVN: r19669

26 years agoNew test
Mark Mitchell [Mon, 11 May 1998 10:59:39 +0000 (10:59 +0000)] 
New test

From-SVN: r19668

26 years ago* pt.c (tsubst): Remove duplicate check for IDENTIFIER_NODE.
Mark Mitchell [Mon, 11 May 1998 10:08:56 +0000 (10:08 +0000)] 
* pt.c (tsubst): Remove duplicate check for IDENTIFIER_NODE.

From-SVN: r19667