Commit Graph

17918 Commits

Author SHA1 Message Date
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
Gerald Pfeifer
9b14b81c0c egcs_update: New switch --nostdflags and documentation enhancements.
* egcs_update: New switch --nostdflags and documentation
	enhancements.

Co-Authored-By: Alexandre Oliva <oliva@dcc.unicamp.br>

From-SVN: r21667
1998-08-11 09:04:53 +00:00
Gerald Pfeifer
f717c7e4b0 * egcs_update: New script.
From-SVN: r21664
1998-08-11 08:38:09 +00:00
David S. Miller
89e65674fa sparc.c (const64_operand, [...]): New predicates.
* config/sparc/sparc.c (const64_operand, const64_high_operand):
	New predicates.
	* config/sparc/sparc.h: Declare them.
	(PREDICATE_CODES): Add them.
	* config/sparc/sparc.md (movdi_lo_sum_sp64_dbl,
	movdi_high_sp64_dbl, xordi3_sp64_dbl): Use them.

From-SVN: r21663
1998-08-11 00:13:17 -07:00
David S. Miller
2a01c93937 sparc.c (sparc_emit_set_const32): INTVAL is of type HOST_WIDE_INT.
* config/sparc/sparc.c (sparc_emit_set_const32): INTVAL is of
	type HOST_WIDE_INT.
	(safe_constDI sparc_emit_set_const64_quick1,
	sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
	analyze_64bit_constant, const64_is_2insns,
	create_simple_focus_bits): Fix some bugs when compiled on real
	64-bit hosts.
	(function_arg_record_value_3, function_arg_record_value_2,
	function_arg_record_value): Add fully prototyped forward decls.
	* config/sparc/sparc.md (define_insn cmpsi_insn_sp32): Rename back
	to cmpsi_insn and use on both 64 and 32 bit targets.
	(define_insn cmpsi_insn_sp64): Remove.
	(define_expand zero_extendsidi2): Allow for 32-bit target too.
	(define_insn zero_extendsidi2_insn): Rename to
	zero_extendsidi2_insn_sp64.
	(define_insn zero_extendsidi2_insn_sp32): New pattern and
	assosciated forced split for it.

From-SVN: r21662
1998-08-10 22:54:17 -07:00
Jeff Law
aaa642460c Daily bump.
From-SVN: r21660
1998-08-10 18:45:02 -06:00
John Carr
cb6420a0bb sparc.md (define_insn jump): Output ba,pt not b,pt in v9 case as the latter makes the Solaris assembler crash.
* config/sparc/sparc.md (define_insn jump): Output ba,pt not b,pt
	in v9 case as the latter makes the Solaris assembler crash.

From-SVN: r21659
1998-08-10 17:03:39 -07:00
David S. Miller
03ad6f4d34 sparc.c (input_operand): Do not accept a LO_SUM MEM for TFmode when !v9.
* config/sparc/sparc.c (input_operand): Do not accept a LO_SUM MEM
	for TFmode when !v9.  We require offsettable memory addresses.
	* config/sparc/sparc.h (ALTER_HARD_SUBREG): Handle TFmode to
	DFmode register number conversions.
	* config/sparc/sparc.md (define_split DFmode moves): If register
	is a SUBREG do alter_subreg on it before using.
	(define_expand movtf): Fixup comment about alignment on v9.
	(define_split TFmode moves): Don't use gen_{high,low}part, create
	explicit SUBREGs instead.

From-SVN: r21658
1998-08-10 16:47:28 -07:00
John Carr
b8d80a3a83 * Makefile.in (mbchar.o): Depend on mbchar.c.
From-SVN: r21656
1998-08-10 16:06:34 +00:00
Jason Merrill
863878b2f0 x
From-SVN: r21655
1998-08-10 09:55:04 -04:00
Jason Merrill
77d7c64b6e new
From-SVN: r21654
1998-08-10 08:39:12 -04:00
David Edelsohn
f625817271 AIX 4.1.5 binder -bbigtoc relocation overflow fix.
From-SVN: r21653
1998-08-10 06:28:59 -04:00
David S. Miller
e0d8018451 Sparc backend rewrite by rth and myself, please
peruse the lengthy ChangeLog for a blow by blow account.

Co-Authored-By: Richard Henderson <rth@cygnus.com>

From-SVN: r21652
1998-08-09 22:34:44 -07:00
Richard Henderson
b08b85c4a0 alpha.md (extxl+1,+2): New patterns to work around combine lossage.
* alpha.md (extxl+1,+2): New patterns to work around
        combine lossage.

From-SVN: r21651
1998-08-09 18:23:59 -07:00
Jeff Law
4ef30178c0 Daily bump.
From-SVN: r21649
1998-08-09 18:45:01 -06:00
HJ Lu
13fec84826 mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.
* mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

From-SVN: r21648
1998-08-09 17:17:03 -06:00
HJ Lu
3cf2f67022 mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.
�
        * mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

From-SVN: r21647
1998-08-09 17:17:02 -06:00
Mark Mitchell
8ec2ac347f pt.c (check_explicit_specialization): Don't abort on bogus explicit instantiations.
* pt.c (check_explicit_specialization): Don't abort on bogus
	explicit instantiations.

From-SVN: r21643
1998-08-09 15:20:40 +00:00