Commit Graph

16589 Commits

Author SHA1 Message Date
Jeff Law fe806bddb8 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
1998-05-15 17:21:05 -06:00
Peter Schauer 63586755e5 cplus-dem.c (cplus_demangle_opname): Initialize work.
* cplus-dem.c (cplus_demangle_opname):  Initialize work.
Bring over from devo.

From-SVN: r19787
1998-05-15 17:02:07 -06:00
John Wehle d2f2cb195c * i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
From-SVN: r19786
1998-05-15 14:41:47 -06:00
Jason Merrill 51bcf66114 decl.c (start_decl): Revert problem change.
* decl.c (start_decl): Revert problem change.
	* Makefile.in (CONFLICTS): Fix.

From-SVN: r19785
1998-05-15 16:31:52 -04:00
Benjamin Kosnik 0b60dfe36c 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
1998-05-15 20:13:22 +00:00
Benjamin Kosnik 33f1e63e7b 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
1998-05-15 20:13:20 +00:00
Jason Merrill 6bc39009e1 * class.c (finish_struct_1): Use BINFO_SIZE.
From-SVN: r19782
1998-05-15 16:03:17 -04:00
Jason Merrill bbc0e64172 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
1998-05-15 14:56:11 -04:00
Bob Manson 92834d7d83 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
1998-05-15 10:44:21 -07:00
Bill Moyer 829002bbab Patch from Bill Moyer.
* loop.c (basic_induction_var): Added test preventing
        CCmode parameter passed to convert_modes().

From-SVN: r19779
1998-05-15 10:37:51 -07:00
Alexandre Petit-Bianco b24f65cddd 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
1998-05-15 10:32:40 -07:00
Benjamin Kosnik c1465d2147 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
1998-05-15 12:50:30 +00:00
Benjamin Kosnik b09293ccd0 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
1998-05-15 12:50:28 +00:00
Mark Mitchell f628873f1f fold-const.c (constant_boolean_node): New function.
* fold-const.c (constant_boolean_node): New function.
	(fold): Use it.

From-SVN: r19775
1998-05-15 07:19:38 +00:00
Dave Love 8ebe42f1e4 New file.
From-SVN: r19774
1998-05-15 06:23:01 +00:00
Dave Love 4ee383a75f 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
1998-05-15 04:27:51 +00:00
J"orn Rennecke 61fb6bac57 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
1998-05-15 04:26:52 +01:00
Dave Love 08e2846bd7 New file.
From-SVN: r19771
1998-05-15 02:44:44 +00:00
Jason Merrill 6729735cf1 regen
From-SVN: r19770
1998-05-14 22:10:42 -04:00
Jeffrey A Law 8f9661ddd6 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
From-SVN: r19769
1998-05-14 18:49:49 -06:00
Jason Merrill b5effa192a * decl.c (start_decl): Use 'tem'.
From-SVN: r19768
1998-05-14 20:46:36 -04:00
Mumit Khan 438a7234c4 * Make-lang.in (f77.mostlyclean): Add missing exeext.
From-SVN: r19767
1998-05-14 18:45:22 -06:00
Mumit Khan b22284e14a 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
1998-05-14 18:44:32 -06:00
John Wehle 8a0224432d i386.h (DATA_ALIGNMENT): Define.
* i386.h (DATA_ALIGNMENT): Define.
Improve x86 FP performance.

From-SVN: r19765
1998-05-14 18:29:27 -06:00
J"orn Rennecke aa6498c297 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
1998-05-14 22:36:53 +01:00
Jeff Law 0238952c79 Initial revision
From-SVN: r19757
1998-05-14 13:57:15 -06:00
Jim Wilson 7924156a6a Fix MIPS compiler abort on Mesa, reported by Andy Tai.
* reload.c (find_reloads): Don't penalize SCRATCH output reload.

From-SVN: r19756
1998-05-14 12:54:35 -07:00
Jim Wilson 41372177b2 Fix MIPS compiler abort on Mesa, reported by Andy Tai.
From-SVN: r19755
1998-05-14 11:41:51 -07:00
Jeff Law ddc5654abd 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
1998-05-14 08:09:33 -06:00
Jeff Law 1cd9396387 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
1998-05-14 08:09:31 -06:00
Andrew MacLeod 9a0d1e1b11 First cut of changes to utilize the new exception handling model
From-SVN: r19746
1998-05-14 13:39:15 +00:00
Jim Wilson 2129b0816f 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
1998-05-14 06:00:18 -07:00
Brendan Kehoe f2ee215beb 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
1998-05-14 08:29:41 -04:00
Dave Love c02cdb7030 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
1998-05-14 09:17:34 +00:00
Dave Love b38b42d205 Call abort where appropriate.
From-SVN: r19742
1998-05-14 09:00:31 +00:00
Dave Love 1a057f3bc0 Add dmg address.
From-SVN: r19741
1998-05-14 08:10:55 +00:00
Craig Burley 2b0c2df0c5 [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
1998-05-14 07:24:52 +00:00
Craig Burley 945beb7c43 [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
1998-05-14 06:51:23 +00:00
Dave Love 8739160472 Duplicated 980310-2.f.
From-SVN: r19737
1998-05-14 02:32:14 +00:00
J"orn Rennecke 9dd07f87f3 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
From-SVN: r19736
1998-05-13 18:50:07 -06:00
J"orn Rennecke 029b38ff04 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
1998-05-14 01:44:02 +01:00
Jeff Law f824910ea1 New testcase.
From-SVN: r19734
1998-05-13 18:20:07 -06:00
Michael Meissner ae78d2768e 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
1998-05-13 16:10:04 -06:00
Michael Meissner 82ce5b758e 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
1998-05-13 15:33:25 -06:00
Michael Meissner 0dfa18604b 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
1998-05-13 15:13:47 -06:00
J"orn Rennecke efdb359022 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
1998-05-13 19:19:03 +01:00
Jeffrey A Law 5d27de7d00 * haifa-sched.c (schedule_insns): Fix merge goof.
From-SVN: r19725
1998-05-13 10:52:15 -06:00
Michael Meissner 47312d8401 Add a blank line in verbose debug output
From-SVN: r19724
1998-05-13 15:32:22 +00:00
Jim Wilson 92d4501f96 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
1998-05-13 07:04:15 -07:00
Jim Wilson d6cc54f659 Disable remaining cmov support just to be safe.
* i386.c (notice_update_cc, output_float_compare): Disable
	TARGET_CMOVE support.

From-SVN: r19722
1998-05-13 06:10:34 -07:00