Commit Graph

20501 Commits

Author SHA1 Message Date
Jason Merrill
41118459ec update
From-SVN: r25017
1999-02-03 18:30:20 -05:00
Marc Espie
b775105bfd Makefile.in (xgcc$(exeext)): Remove choose-temp, pexecute and mkstemp.
* Makefile.in (xgcc$(exeext)): Remove choose-temp, pexecute and
        mkstemp.  Get them from libiberty.
        (COLLECT2_OBJS): Similarly for choose-temp, cplus-dem and mkstemp.
        (PROTO_OBJS): Similarly for choose-temp, getopt, getopt1 and pexecute.
        (cplus-dem.o, pexecute.o, choose-temp.o): Remove build rules.
        (mkstemp.o, getopt1.o, getopt.o): Likewise.

From-SVN: r25016
1999-02-03 15:01:05 -07:00
Marc Espie
3204fae429 Make-lang.in ($(GCJ)(exeext)): Remove choose-temp.o, pexecute.o and mkstemp.o.
* Make-lang.in ($(GCJ)(exeext)): Remove choose-temp.o, pexecute.o and
        mkstemp.o.  Get them from libiberty now.

From-SVN: r25015
1999-02-03 14:57:59 -07:00
Marc Espie
6b17c0890d Make-lang.in (GXX_OBJS): Remove choose-temp.o, pexecute.o and mkstemp.o.
* Make-lang.in (GXX_OBJS): Remove choose-temp.o, pexecute.o and
        mkstemp.o.  Get them from libiberty now.
        (DEMANGLER_PROG): Simlarly, temove getopt.o getopt1.o.

From-SVN: r25014
1999-02-03 14:56:50 -07:00
Marc Espie
d57875533e Make-lang.in (g77$(exeext)): Get choose-temp.o, pexecute.o and mkstemp.o from libiberty.
* Make-lang.in (g77$(exeext)): Get choose-temp.o, pexecute.o and
        mkstemp.o from libiberty.

From-SVN: r25013
1999-02-03 14:54:40 -07:00
H.J. Lu
ef616958ab Makefile.in (iostream.list): Remove dependency on stamp-picdir.
* Makefile.in (iostream.list): Remove dependency on
        stamp-picdir.
        ($(LIBIOSTREAM_DEP)): Depend on stamp-picdir.
        ($(LIBIO_FILES)): Similarly.
        * config.shared (all): Make $(PICDIR) concurrent.

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

From-SVN: r25012
1999-02-03 14:11:03 -07:00
Jeff Law
3723cad98e configure.in (hppa1.1-*-*, hppa2*-*): Use symbolic value rather than numeric value for target_cpu_default..
* configure.in (hppa1.1-*-*, hppa2*-*): Use symbolic value rather
        than numeric value for target_cpu_default..
        * configure: Rebuilt.
        * pa-gas.h (TARGET_DEFAULT): Use symbolic values rather than numeric
        values.
        * pa-hpux.h (LINK_SPEC): Likewise.
        * pa-hpux10.h (LINK_SPEC): Likewise.
        * pa-hpux9.h (LINK_SPEC): Likewise.
        * pa-osf.h: (LINK_SPEC): Likewise.
        * pa-pro.h (TARGET_DEFAULT): Likewise.
        * pa1.h (TARGET_DEFAULT): Likewise.
        * pa.h (MASK_*): New defines.
        (TARGET_*): Use symbolic values rather than numeric values.
        (TARGET_SWITCHES): Likewise.
        (TARGET_DEFAULT): likewise.
        (CPP_SPEC): likewise.

From-SVN: r25011
1999-02-03 14:04:26 -07:00
Bernd Schmidt
121315ea08 reload1.c (reload_cse_regs_1): Undo Jan 16 patch.
* reload1.c (reload_cse_regs_1): Undo Jan 16 patch.
        * reload.c (find_reusable_reload): New function, broken out of
        push_reload.  Add code to verify that none of the involved
        outputs are subject to earlyclobbers.
        (push_reload): Break out new function find_reusable_reload.
        Delete "register" keyword for IN, OUT args.

From-SVN: r25010
1999-02-03 13:11:56 -07:00
Craig Burley
5ed45d4031 Change my email address
From-SVN: r25009
1999-02-03 10:38:49 -05:00
Gavin Romig-Koch
def72bd2e9 mips.c (true_reg_or_0_operand): New function.
* config/mips/mips.c (true_reg_or_0_operand) : New function.
	* config/mips/mips.h (PREDICATE_CODES): Add true_reg_or_0_operand.
	* config/mips/mips.md (div_trap,div_trap_normal,div_trap_mips16):
	Use true_reg_or_0_operand for div_trap.

From-SVN: r25008
1999-02-03 13:04:22 +00:00
J"orn Rennecke
4d87f7a77c loop.h (express_from): Declare.
* loop.h (express_from): Declare.
	(struct induction): Replace derived flag with derived_from pointer.
	* loop.c (strength_reduce, record_giv, recombine_givs): Likewise.
	(express_from): No longer static.
	* unroll.c (find_splittable_givs): Replace derived with derived_from.
	When processing an address giv with which another giv has been
	combined that has also been derived from a third giv, handle like
	having combined with the third giv.
	Set splittable_regs_updates appropriately for derived givs.

From-SVN: r25007
1999-02-03 12:48:48 +00:00
Gavin Romig-Koch
6ebec6eed4 (div_trap_mips16): Remove nop's after branches.
Properly this time.

From-SVN: r25006
1999-02-03 12:47:19 +00:00
Gavin Romig-Koch
5b2179e8f0 undo last revision; I commited more stuff than I intended.
From-SVN: r25005
1999-02-03 12:42:12 +00:00
Gavin Romig-Koch
de52e202c2 (div_trap_mips16): Remove nop's after branches.
From-SVN: r25004
1999-02-03 12:31:38 +00:00
Jeffrey A Law
b9cd54d265 pa.c (insn_sets_and_refs_are_delayed): New function.
* pa.c (insn_sets_and_refs_are_delayed): New function.
        * pa.h (INSN_SETS_ARE_DELAYED): Use it.
        (INSN_REFERENCES_ARE_DELAYED): Likewise.

From-SVN: r25003
1999-02-03 04:01:19 -07:00
Nick Clifton
978fd0cb53 Fix blkarg.c test to fail even on alpha.
Make blkarg.c an expected failure.
Fix driver.c to use exit()/abort().

From-SVN: r25002
1999-02-03 10:30:26 +00:00
Richard Earnshaw
545954c9d3 t-arm-elf (LIBGCC2_CFLAGS): Delete.
* config/arm/t-arm-elf (LIBGCC2_CFLAGS): Delete.
	* config/arm/t-linux (LIBGCC2_CFLAGS): Delete.
	(TARGET_LIBGCC2_CFLAGS): Define.
	(LIBGCC2_DEBUG_CFLAGS): Define.
	* config/arm/t-netbsd: Likewise.
	* config/arm/t-semi: Likewise.
	* config/arm/t-semiaof: Likewise.
	* config/arm/t-riscix: Likewise.

From-SVN: r25001
1999-02-03 06:30:56 +00:00
Andreas Schwab
c2ac2ff636 m68k.c (print_operand_address): When printing a SYMBOL_REF that ends in `.<letter>' put parentheses around it.
* config/m68k/m68k.c (print_operand_address): When printing a
	SYMBOL_REF that ends in `.<letter>' put parentheses around it.

From-SVN: r25000
1999-02-03 02:03:23 +00:00
Richard Henderson
6a73406ee9 Missed rtl.h on commit and from ChangeLog.
Add copyright to resource.c.

From-SVN: r24999
1999-02-02 17:26:55 -08:00
Bob Manson
1841f23bd1 Missed commit from last.
From-SVN: r24998
1999-02-02 17:13:52 -08:00
Jeff Law
36e839b497 Daily bump.
From-SVN: r24997
1999-02-02 17:45:02 -07:00
Mumit Khan
b207e09ce5 clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on platforms that don't have HZ.
* clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
        platforms that don't have HZ.
        * getruntime.c (HZ): Likewise.

From-SVN: r24993
1999-02-02 16:05:16 -07:00
David O'Brien
c79d148397 * i386/freebsd*.h now allows '$' in label names and does not use the PCC struct
return method.

From-SVN: r24992
1999-02-02 15:48:49 -07:00
Jim Wilson
8f25d5cda6 Patch to fix canadian cross build problem with libcpp.a.
* Makefile.in: Change all uses of AR to AR_FOR_TARGET.  Change all uses
	of HOST_AR to AR.  Likewise for AR_FLAGS, RANLIB, and RANLIB_TEST.
	(RANLIB_TEST): Test to see if ranlib exists.  Only test absolute file
	names if host == target.
	(HOST_AR, HOST_AR_FLAGS, HOST_RANLIB, HOST_RANLIB_TEST): Delete.
	(AR_FLAGS_FOR_TARGET): Renamed from AR_FOR_TARGET_FLAGS.
	(AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Delete rules
	setting them to *_FOR_TARGET.
	* cross-make (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST):
	Delete.

From-SVN: r24991
1999-02-02 14:39:13 -08:00
Jim Wilson
ecd6282003 Patch to fix canadian cross build problem with libcpp.a.
* Makefile.in (EXTRA_GCC_FLAGS):  Set AR to $AR instead of
	$AR_FOR_TARGET.  Likewise for RANLIB.

From-SVN: r24990
1999-02-02 14:36:33 -08:00
Joern Rennecke
5428b16202 New test.
From-SVN: r24989
1999-02-02 22:05:52 +00:00
Philip Blundell
fc4c10f1d5 mh-armpic: New file.
* mh-armpic: New file.  Patch from Jim Pick <jim@jimpick.com>.
        * mt-armpic: Likewise.

From-SVN: r24988
1999-02-02 14:54:35 -07:00
Richard Henderson
777b1b71a3 Missed from last commit.
From-SVN: r24987
1999-02-02 13:49:34 -08:00
Theodore Papadopoulo
0daa67d1d6 * decl2.c (lang_decode_option): Use read_integral_parameter.
From-SVN: r24986
1999-02-02 14:47:20 -07:00
Theodore Papadopoulo
132e01b1e6 toplev.h (read_integral_parameter): Declare.
* toplev.h (read_integral_parameter): Declare.
	* toplev.c (read_integral_parameter): New function.

From-SVN: r24985
1999-02-02 14:43:19 -07:00
Bob Manson
ca545bb569 Bob Manson <manson@charmed.cygnus.com>
Bob Manson  <manson@charmed.cygnus.com>
        * resource.c, resource.h: New files.
        * haifa-sched.c (regno_use_in): Moved to rtlanal.c.
        (split_block_insns): Moved to recog.c.
        (update_flow_info): Make public.
        * reorg.c: Moved the functions dealing with computing resource
        usage to resource.c.
        * sched.c (regno_use_in): Moved to rtlanal.c.
        (update_flow_info): Make public.
        (schedule_insns): Use split_block_insns.
        * recog.c (split_block_insns): New function.

From-SVN: r24982
1999-02-02 13:22:52 -08:00
David Edelsohn
ee0d2cf322 linux.h (LINK_START_DEFAULT_SPEC): Delete, unused.
* rs6000/linux.h (LINK_START_DEFAULT_SPEC): Delete, unused.
        (LINK_OS_DEFAULT_SPEC): Delete, unused.

From-SVN: r24981
1999-02-02 14:10:15 -05:00
Jeffrey A Law
47f59fd4d5 i386.md (ashlsi3): Turn into a define_expand an anonymous pattern.
* i386.md (ashlsi3): Turn into a define_expand an anonymous pattern.
        Make the anonymous pattern match when ! optimize_size.
        (ashlsi3 size optimizer): New pattern.

From-SVN: r24980
1999-02-02 12:06:58 -07:00
Catherine Moore
cbca921c15 configure.in (arm-*-oabi): Support.
* configure.in (arm-*-oabi):  Support.
        * configure:  Regenerate.
        * config/arm/unknown-elf-oabi.h:  New file.

From-SVN: r24979
1999-02-02 13:56:07 -05:00
Jeffrey A Law
6d6dbe5199 * jcf-io.c: Do not include sys/stat.h or sys/wait.h
From-SVN: r24978
1999-02-02 11:53:29 -07:00
Jeffrey A Law
c4e3884d83 * intl/Makefile.in (uninstall): Add missing "; \".
From-SVN: r24977
1999-02-02 11:49:16 -07:00
Catherine Moore
bbd8fa7f52 config.sub (oabi): Recognize.
* config.sub (oabi):  Recognize.
        * configure.in (arm-*-oabi):  Handle.

From-SVN: r24976
1999-02-02 13:29:47 -05:00
Kaveh R. Ghazi
b0f780c3bf jvspec.c (xmalloc): Fix the prototype to match the one obtained from libiberty.h
* jvspec.c (xmalloc): Fix the prototype to match the one obtained
        from libiberty.h

From-SVN: r24975
1999-02-02 17:16:58 +00:00
Stan Cox
809934dfbb * sparc.h (TARGET_CPU_sparc86x): Added. TARGET_CPU_sparclite86x synonym.
From-SVN: r24974
1999-02-02 15:34:45 +00:00
J"orn Rennecke
e318cec07a loop.c (loop_optimize): Fix value max_uid_for_loop is reset to after find_and_verify_loops call.
* loop.c (loop_optimize): Fix value max_uid_for_loop is reset
	to after find_and_verify_loops call.

From-SVN: r24973
1999-02-02 13:38:56 +00:00
Per Bothner
66b4814089 Optimize: return (a ? b : c)' as: if (a) return b; else return c;'.
Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.
	* jcf-write.c (generate_bytecode_return):  New function.
	(generate_bytecode_insns):  Use it, for RETURN_EXPR.
	* jcf-write.c (generate_bytecode_insns):  For REAL_CST that is 0 or 1,
	generate special [fd]const_[01] instructions.
	* jcf-parse.c (yyparse):  Don't emit_register_classes if -fsyntax-only.
	* verify.c (verify_jvm_instructions):  Do INVALIDATE_PC after
	handling OPCODE_lookupswitch or OPCODE_tableswitch.

From-SVN: r24972
1999-02-02 04:20:39 -08:00
Per Bothner
bb6e881c9a Optimize: return (a ? b : c)' as: if (a) return b; else return c;'.
a
	Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.
	* jcf-write.c (generate_bytecode_return):  New function.
	(generate_bytecode_insns):  Use it, for RETURN_EXPR.
	* jcf-write.c (generate_bytecode_insns):  For REAL_CST that is 0 or 1,
	generate special [fd]const_[01] instructions.
	* jcf-parse.c (yyparse):  Don't emit_register_classes if -fsyntax-only.
	* verify.c (verify_jvm_instructions):  Do INVALIDATE_PC after
	handling OPCODE_lookupswitch or OPCODE_tableswitch.

From-SVN: r24971
1999-02-02 04:20:36 -08:00
Per Bothner
bb31662fad Optimize: return (a ? b : c)' as: if (a) return b; else return c;'.
Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.
	* jcf-write.c (generate_bytecode_return):  New function.
	(generate_bytecode_insns):  Use it, for RETURN_EXPR.
	* jcf-write.c (generate_bytecode_insns):  For REAL_CST that is 0 or 1,
	generate special [fd]const_[01] instructions.
	* jcf-parse.c (yyparse):  Don't emit_register_classes if -fsyntax-only.
	* verify.c (verify_jvm_instructions):  Do INVALIDATE_PC after
	handling OPCODE_lookupswitch or OPCODE_tableswitch.

From-SVN: r24970
1999-02-02 04:20:34 -08:00
Per Bothner
f044fba914 parse.y (patch_method_invocation): Handle calling static methods...
�
	* parse.y (patch_method_invocation):  Handle calling static methods,
	even in the form EXPR.METHOD(ARGS), not just TYPE.METHOD(ARGS).
	* parse.y (java_complete_lhs):  Don't complain about unreachable
	exit condition in a do-while statement.

From-SVN: r24969
1999-02-02 04:07:01 -08:00
Per Bothner
bccaf73a05 parse.y (patch_method_invocation): Handle calling static methods...
d
	* parse.y (patch_method_invocation):  Handle calling static methods,
	even in the form EXPR.METHOD(ARGS), not just TYPE.METHOD(ARGS).
	* parse.y (java_complete_lhs):  Don't complain about unreachable
	exit condition in a do-while statement.

From-SVN: r24968
1999-02-02 04:06:59 -08:00
J"orn Rennecke
7221f08022 (recombine_givs): Don't use a giv that's likely to be dead to derive others.
* (recombine_givs): Don't use a giv that's likely to be dead to
	derive others.
	* loop.c (recombine_givs): Fix test for lifetime overlaps / loop
	wrap around when deriving givs.

From-SVN: r24967
1999-02-02 11:52:00 +00:00
Per Bothner
e77dbc56f9 Fix typo in comment.
From-SVN: r24966
1999-02-02 02:18:25 -08:00
Per Bothner
36be4b9904 jcf-write.c (localvar_alloc): Only emit entry for LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.
�
	* jcf-write.c (localvar_alloc):  Only emit entry for
	LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.
	(generate_bytecode_insns):  Only call put_linenumber if
	debug_info_level > DINFO_LEVEL_NONE.
	* jvspec.c (lang_specific_driver):  If no -O* or -g* option
	is specified, add -g1 (for compatibility wih javac).

From-SVN: r24965
1999-02-02 02:16:58 -08:00
Per Bothner
743b097321 jcf-write.c (localvar_alloc): Only emit entry for LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.
0
	* jcf-write.c (localvar_alloc):  Only emit entry for
	LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.
	(generate_bytecode_insns):  Only call put_linenumber if
	debug_info_level > DINFO_LEVEL_NONE.
	* jvspec.c (lang_specific_driver):  If no -O* or -g* option
	is specified, add -g1 (for compatibility wih javac).

From-SVN: r24964
1999-02-02 02:16:57 -08:00
Per Bothner
80d8e475cc jcf-write.c (localvar_alloc): Only emit entry for LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.
* jcf-write.c (localvar_alloc):  Only emit entry for
	LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.
	(generate_bytecode_insns):  Only call put_linenumber if
	debug_info_level > DINFO_LEVEL_NONE.
	* jvspec.c (lang_specific_driver):  If no -O* or -g* option
	is specified, add -g1 (for compatibility wih javac).

From-SVN: r24963
1999-02-02 02:16:56 -08:00