Commit Graph

18035 Commits

Author SHA1 Message Date
Jeffrey A Law
6b3603c273 loop.c (add_label_notes): Do not ignore references to labels before dispatch tables.
* loop.c (add_label_notes): Do not ignore references to labels
        before dispatch tables.  Mirrors Apr 8 change to mark_jump_label.
        * gcse.c (add_label_notes): Similarly.

From-SVN: r21744
1998-08-14 18:33:57 -06:00
Jeffrey A Law
fbe83d7ac8 * pa.h (ASM_OUTPUT_MI_THUNK): Strip name encoding.
From-SVN: r21742
1998-08-14 16:27:50 -06:00
Jeff Law
af55143f03 m68k.md (adddi_dilshr32): One of the operands must be a register.
(
        * m68k.md (adddi_dilshr32): One of the operands must be a register.
        (adddi_dishl32): Similarly.

From-SVN: r21739
1998-08-14 14:10:11 -06:00
Jeff Law
0af444cc91 m68k.md (adddi_dilshr32): One of the operands must be a register.
* m68k.md (adddi_dilshr32): One of the operands must be a register.
        (adddi_dishl32): Similarly.

From-SVN: r21738
1998-08-14 14:10:08 -06:00
Nick Clifton
b2fdd68ce1 Rename BBISON to BISON
From-SVN: r21735
1998-08-14 16:43:57 +00:00
Jason Merrill
63be02dbae i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.
* i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.
	* alias.c (memrefs_conflict_p): Add braces to shut up warnings.
	* cse.c (cse_basic_block): Add parens to shut up warnings.

From-SVN: r21734
1998-08-14 12:28:30 -04:00
David S. Miller
f710f868cb sparc.c (sparc_emit_set_const64_quick2, [...]): Fix more bugs in 64-bit constant formation.
* config/sparc/sparc.c (sparc_emit_set_const64_quick2,
	sparc_emit_set_const64_longway, const64_is_2insns,
	create_simple_focus_bits, sparc_emit_set_const64): Fix more bugs
	in 64-bit constant formation.
	* config/sparc/sparc.md (snesi_zero_extend split): Generate
	rtl for addx not subx.
	(define_insn movdi_const64_special): Make available even when
	HOST_BITS_PER_WIDE_INT is not 64.
	(movdi_lo_sum_sp64_cint, movdi_high_sp64_cint): Remove.
	(losum_di_medlow, sethm, setlo): Make op2 symbolic_operand.
	(cmp_siqi_trunc_set, cmp_diqi_trunc_set): Encapsulate both
	instances of operand 1 inside a QI subreg.
	(xordi3_sp64_dbl): Remove '%' constraint for op1.
	(one_cmpldi2_sp64): Fix output string.
	(one_cmplsi2_not_liveg0): Rewrite to remove unneeded extra
	alternative case.
	(unnamed arch64 ashift DI): Truncate shift count if greater than
	63, not 31.

From-SVN: r21733
1998-08-14 07:11:34 -07:00
J"orn Rennecke
6036acbbf2 expr.c (store_expr): Don't optimize away load-store pair when either source or destination have a...
* expr.c (store_expr): Don't optimize away load-store pair
	when either source or destination have a side effect.

From-SVN: r21732
1998-08-14 14:58:02 +01:00
John Carr
141dba98fd genrecog.c (add_to_sequence): Fatal error if the modes of the operands of SET are incompatible.
* genrecog.c (add_to_sequence): Fatal error if the modes of the operands
	of SET are incompatible.
	* alpha.md: Fix max and min patterns so modes of SET operands match.

From-SVN: r21731
1998-08-14 13:52:58 +00:00
David S. Miller
64c7a80a98 Forgot to push this in with last change.
Good eyes Brendan...

From-SVN: r21730
1998-08-14 04:50:46 -07:00
Alexandre Oliva
49e921be33 test_installed: new script for testing already-installed
* test_installed: new script for testing already-installed
 	gcc/g++/g77

From-SVN: r21728
1998-08-14 10:09:42 +00:00
Ian Lance Taylor
75bffa7153 configure.in: Avoid [[ by using test and changequote.
* configure.in: Avoid [[ by using test and changequote.
	* configure: Rebuild.

From-SVN: r21726
1998-08-14 09:23:47 +00:00
David S. Miller
638e8b1f02 rtl.def (CONSTANT_P_RTX): Fix typo in string name.
* rtl.def (CONSTANT_P_RTX): Fix typo in string name.
	* config/sparc/sparc.md (seqdi_special_trunc, snedi_special_trunc,
	seqsi_special_extend, snesi_special_extend, snesi_zero_extend and
	split, snedi_zero_trunc and split, seqsi_zero_extend and split,
	seqdi_zero_trunc and split, pic_lo_sum_di, pic_sethi_di,
	movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc, addx_extend_sp32 and
	split, addx_extend_sp64, subx_extend_sp64, subx_extend and split):
	Fix mismatching modes in SET operands.
	(conditional move patterns): Fix formatting.
	(unnamed subx arch64 pattern): Remove duplicate insn.

From-SVN: r21725
1998-08-13 21:30:33 -07:00
David S. Miller
9208e4b25c sparc.c (const64_operand, [...]): Get it right when HOST_BITS_PER_WIDE_INT is not 64.
* config/sparc/sparc.c (const64_operand, const64_high_operand):
	Get it right when HOST_BITS_PER_WIDE_INT is not 64.
	(input_operand): Fixup test for what we accept for constant
	integers.
	(sparc_emit_set_const32, sparc_emit_set_symbolic_const64): Give
	set VOIDmode.
	(safe_constDI): Remove.
	(sparc_emit_set_safe_HIGH64, gen_safe_SET64, gen_safe_OR64,
	gen_safe_XOR64): New functions.
	(sparc_emit_set_const64_quick1, sparc_emit_set_const64_quick2,
	sparc_emit_set_const64_longway, sparc_emit_set_const64): Use
	them.
	* config/sparc/sparc.md (define_insn xordi3_sp64_dbl): Only make
	available when HOST_BITS_PER_WIDE_INT is not 64.
	(define_insn movdi_sp64_dbl, movdi_const64_special): Likewise and
	move before movdi_insn_sp64 pattern.
	(define_insn movdi_lo_sum_sp64_dbl, movdi_high_sp64_dbl): Remove.
	(define_insn sethi_di_medlow, seth44, setm44, sethh): Use
	symbolic_operand as predicate for second operand.
	(DImode minus split on arch32, negsi2 expander, one_cmplsi2
	expander): Give set VOIDmode.

From-SVN: r21724
1998-08-13 18:49:23 -07:00
Mumit Khan
a2cd38a9f8 *** empty log message ***
From-SVN: r21723
1998-08-13 18:46:47 -06:00
Mumit Khan
073d81b606 cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.
�
        * i386/cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.

From-SVN: r21722
1998-08-13 18:46:45 -06:00
Jeff Law
af77adcb0a Daily bump.
From-SVN: r21719
1998-08-13 18:45:02 -06:00
Geoff Keating
48c997f6d9 linux.h (LINK_SPEC): Pass -G args to the linker.
�
        * rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.

From-SVN: r21717
1998-08-13 18:42:09 -06:00
Geoff Keating
643a098f50 linux.h (LINK_SPEC): Pass -G args to the linker.
* rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.

From-SVN: r21716
1998-08-13 18:42:07 -06:00
Richard Earnshaw
4ec1eeda1f netbsd.h (TARGET_DEFAULT): Default includes software floating point.
X
        * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating
        point.
        (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.

From-SVN: r21715
1998-08-13 18:29:32 -06:00
Richard Earnshaw
df07aa90bc netbsd.h (TARGET_DEFAULT): Default includes software floating point.
�
        * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating
        point.
        (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.

From-SVN: r21714
1998-08-13 18:29:30 -06:00
Robert Lipe
281dca2088 install.texi: Various SCO OpenServer tweaks.
�
        * install.texi: Various SCO OpenServer tweaks.

[[Split portion of a mixed commit.]]

From-SVN: r21710.2
1998-08-13 18:21:34 -06:00
Robert Lipe
c931c9fa0f install.texi: Various SCO OpenServer tweaks.
* install.texi: Various SCO OpenServer tweaks.

From-SVN: r21709
1998-08-13 18:20:50 -06:00
H.J. Lu
4a46dbe86c * Make-lang.in (g77.o): Touch lang-f77 before checking it.
From-SVN: r21708
1998-08-13 18:18:56 -06:00
Jim Wilson
bb22893c61 reload1.c (eliminate_regs_in_insn): Handle another case when eliminating the frame pointer to the hard frame pointer.
* reload1.c (eliminate_regs_in_insn): Handle another case when
        eliminating the frame pointer to the hard frame pointer.  Add
        missing ep->to_rtx check to one existing case.

From-SVN: r21705
1998-08-13 18:14:09 -06:00
Jim Wilson
988ee12c8a Fix SET operand mode mismatch detected by John Carr's patch.
* mips/mips.md (movhi_internal2+2): Fix typo mem:SI -> mem:HI.

From-SVN: r21704
1998-08-13 13:16:20 -07:00
Jason Merrill
2ce3c6c615 tree.h: De-conditionalize init_priority code.
* tree.h: De-conditionalize init_priority code.
	* mips.h (NM_FLAGS): Change from -Bp to -Bn.
	* collect2.c (NM_FLAGS): Change from -p to -n.
	* configure.in: Turn on collect2 for mipstx39-elf.
	Handle use_collect2=no properly.
	* c-common.c: De-conditionalize init_priority code.
	* collect2.c (extract_init_priority, sort_ids): New fns.
	(main): Call sort_ids.
	Move sequence_number to file scope.
	* configure.in: Handle --enable-init-priority.
	* c-common.c (attrs): Add A_INIT_PRIORITY.
	(init_attributes, decl_attributes): Likewise.
	* tree.h (DEFAULT_INIT_PRIORITY, MAX_INIT_PRIORITY): New macros.
	* tree.c (get_file_function_name_long): Split out...
	(get_file_function_name): ...from here.
cp/:
	* lang-options.h: Add -finit-priority.
	* decl2.c: Likewise.  Check flag_init_priority instead of
	USE_INIT_PRIORITY.
	* decl2.c (setup_initp): New fn.
	(start_objects, finish_objects, do_ctors): Handle init_priority.
	(do_dtors, finish_file): Likewise.

From-SVN: r21701
1998-08-13 13:29:30 -04:00
Jason Merrill
db04386fd1 pt.c (tsubst_copy): Hush warning.
* pt.c (tsubst_copy): Hush warning.
	* rtti.c (get_tinfo_fn): Also set DECL_IGNORED_P.

From-SVN: r21700
1998-08-13 13:02:00 -04:00
Jason Merrill
af79bb862a * tree.c (simple_cst_equal): Add braces to shut up warnings.
From-SVN: r21699
1998-08-13 13:01:36 -04:00
Jason Merrill
ff59bfe6b2 expr.c (safe_from_p): Change code to ERROR_MARK only when not accessing nodes.
* expr.c (safe_from_p): Change code to ERROR_MARK only when not
	accessing nodes.
	* toplev.c (display_help): Add braces to shut up warnings.
	* fold-const.c (non_lvalue): Don't deal with null pointer
	constants here.
	(fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.

From-SVN: r21698
1998-08-13 12:12:55 -04:00
Jason Merrill
0d906a5f36 c-typeck.c (initializer_constant_valid_p): Allow conversion of 0 of any size to a pointer.
* c-typeck.c (initializer_constant_valid_p): Allow conversion of 0
	of any size to a pointer.

From-SVN: r21697
1998-08-13 11:26:46 -04:00
Jim Wilson
6ece24871f Fix cygwin32 build problem with experimental version of winsup.
* i386/winnt.c (i386_pe_asm_file_end): Check TREE_SYMBOL_REFERENCED.

From-SVN: r21696
1998-08-13 06:09:40 -07:00
Jeff Law
1770091dfa Daily bump.
From-SVN: r21692
1998-08-12 18:45:02 -06:00
Jeff Law
edddcea209 ieee.exp: Pass -ffloat-store to compiler for ieee tests.
8
        * execute/ieee/ieee.exp: Pass -ffloat-store to compiler for
        ieee tests.

From-SVN: r21691
1998-08-12 17:14:54 -06:00
Jeff Law
9c70b6df34 ieee.exp: Pass -ffloat-store to compiler for ieee tests.
�
        * execute/ieee/ieee.exp: Pass -ffloat-store to compiler for
        ieee tests.

From-SVN: r21690
1998-08-12 17:14:53 -06:00
Jeffrey A Law
980d0e8162 mn10300.c (REG_SAVE_BYTES): Only reserve space for registers which will be saved.
* mn10300.c (REG_SAVE_BYTES): Only reserve space for registers
        which will be saved.
        * mn10300.md (prologue insn): Only save registers which need saving.
        (epilogue insn): Similarly.

From-SVN: r21687
1998-08-12 10:41:11 -06:00
Jeffrey A Law
6e755043dd mn10300.c, [...]: Remove "global zero register" optimizations.
* mn10300.c, mn10300.h, mn10300.md: Remove "global zero register"
        optimizations.

From-SVN: r21686
1998-08-12 10:27:05 -06:00
Mark Mitchell
49e0438549 pt.c (print_template_context): Don't abort when instantiating a synthesized method.
* pt.c (print_template_context): Don't abort when instantiating a
	synthesized method.

From-SVN: r21685
1998-08-12 14:40:39 +00:00
Mark Mitchell
05008fb97d decl.c (grokdeclarator): Issue errors on namespace qualified declarators in parameter lists or in class...
1998-08-12  Mark Mitchell  <mark@markmitchell.com>
	* decl.c (grokdeclarator): Issue errors on namespace qualified
	declarators in parameter lists or in class scope.

From-SVN: r21684
1998-08-12 13:48:30 +00:00
Gerald Pfeifer
23a05d03eb * egcs_update: Assigned copyright to FSF.
From-SVN: r21682
1998-08-12 11:02:37 +00:00
Gavin Romig-Koch
a9e3e61181 mips.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG for VAR_DECL's in gp addressable sections.
* mips/mips.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG for
	VAR_DECL's in gp addressable sections.

From-SVN: r21681
1998-08-12 09:42:55 +00:00
Jeff Law
87183d21f5 Daily bump.
From-SVN: r21679
1998-08-11 18:45:03 -06:00
John Carr
5f78aa30e7 sparc.c: Change return <exp> to <exp>; return; in functions returning void.
* sparc.c: Change return <exp> to <exp>; return; in functions
 	returning void.
	* sparc.md: Add empty semicolon statement after final label in
	move expanders.

From-SVN: r21678
1998-08-11 17:09:15 -07:00
David S. Miller
16cf811987 sparc.md (define_insn addx_extend): Rename to addx_extend_sp64, only allow when TARGET_ARCH64.
* config/sparc/sparc.md (define_insn addx_extend): Rename to
	addx_extend_sp64, only allow when TARGET_ARCH64.
	(define_insn addx_extend_sp32 and split): Version that works when
	not TARGET_ARCH64.
	(define_insn subx_extend): Likewise.
	(define_split adddi3 and subdi3 with zero extension): Fixup and
	correct bugs when not TARGET_ARCH64.

From-SVN: r21677
1998-08-11 16:50:23 -07:00
Per Bothner
abf82aabd1
Fix incorrect comment.

From-SVN: r21676
1998-08-11 09:34:05 -07:00
John Carr
53bfe9cda9 except.c (set_exception_lang_code, [...]): Use prototype-style definition if __STDC__, to match declaration in except.h.
* except.c (set_exception_lang_code, set_exception_version_code):
	Use prototype-style definition if __STDC__, to match declaration
	in except.h.
	* genemit.c: Change FAIL and DONE macros not to use loops.

From-SVN: r21675
1998-08-11 13:36:42 +00:00
Jim Wilson
cba96cb7e0 Fix sparc64-elf build problem.
* dwarf2out.c (ASM_OUTPUT_DWARF_ADDR_CONST): Use
	ASM_OUTPUT_DWARF2_ADDR_CONST if defined.

From-SVN: r21674
1998-08-11 06:23:44 -07:00
Jim Wilson
ca45b9134f Fix mips16 libgcc build failure.
* mips/mips.md (reload_outsi): Use M16_REG_P when TARGET_MIPS16.

From-SVN: r21673
1998-08-11 05:28:52 -07:00
Dave Love
beaa74ae03 README: Update from Craig.
1998-08-11  Dave Love  <d.love@dl.ac.uk>
	* README: Update from Craig.

From-SVN: r21672
1998-08-11 10:15:04 +00:00
Dave Love
d606ce281e README.g77: Update from Craig.
Tue Aug 11 17:45:39 1998  Dave Love  <d.love@dl.ac.uk>
	* README.g77: Update from Craig.

From-SVN: r21671
1998-08-11 10:13:57 +00:00