Commit Graph

20493 Commits

Author SHA1 Message Date
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
Jeff Law 113f494fbf Daily bump.
From-SVN: r24962
1999-02-01 17:45:04 -07:00
Richard Henderson 1afbe1c4e6 recog.c (check_asm_operands): Treat indeterminate operand ok results as success.
* recog.c (check_asm_operands): Treat indeterminate operand ok
        results as success.  Try harder to resolve a matching constraint.
        * stmt.c (expand_asm_operands): Recognize when an output operand's
        constraint does not allow memory.  Treat indeterminate operand ok
        results as failure.  Try harder to resolve a matching constraint.

From-SVN: r24959
1999-02-01 12:03:23 -08:00
Mark Mitchell 5326f06d7f pt.c (tsubst, [...]): Check TYPE_BEING_DEFINED before calling complete_type_or_else.
* pt.c (tsubst, case TYPENAME_TYPE): Check TYPE_BEING_DEFINED
	before calling complete_type_or_else.

From-SVN: r24958
1999-02-01 17:25:51 +00:00
Zack Weinberg 1328d92f81 top.c: Don't define ffe_is_ident_.
1999-02-01  Zack Weinberg  <zack@rabi.columbia.edu>
	* top.c: Don't define ffe_is_ident_.  Don't process
	-f(no-)ident here.
	* top.h: Remove declaration of ffe_is_ident_ and macros
	ffe_is_ident() and ffe_set_is_ident().
	* lex.c: Use flag_no_ident instead of ffe_is_ident().

From-SVN: r24957
1999-02-01 14:50:40 +00:00
Ken Raeburn c68da89c45 Use varrays for constant-equivalence data:
* varray.h (struct const_equiv_data): New type.
(union varray_data_tag): New element const_equiv.
(VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV): New macros.
(VARRAY_SIZE): New macro, returns number of elements.
* integrate.h: Include varray.h.
(struct inline_remap): Replace const_equiv_map, const_age_map and
const_equiv_map_size with a const_equiv_varray element.
(MAYBE_EXTEND_CONST_EQUIV_VARRAY): New macro; grows varray if needed.
(SET_CONST_EQUIV_DATA): New macro; sets rtx and age fields simultaneously,
growing the varray if needed.
* integrate.c (global_const_equiv_map, global_const_equiv_map_size): Deleted,
replaced by....
(global_const_equiv_varray): New variable.
(expand_inline_function): References changed.
* integrate.h: Update declarations.
* integrate.c (process_reg_parm, expand_inline_function,
copy_rtx_and_substitute, try_constants, subst_constants, mark_stores): Use
varray allocation and accessor macros, new integrate.h macros, and
global_const_equiv_varray.  Don't conditionalize non-NULL stores on array size;
instead, expand the array as needed.
* unroll.c (unroll_loop): Likewise.
* unroll.c (unroll_loop): Initialize const_equiv_varray element to zero.  After
allocating varray, always exit through bottom of function, where it can be
deallocated if needed.  Don't explicitly reallocate const_equiv_map storage;
instead, just ensure the varray has been initialized, and update the global
reference.

From-SVN: r24956
1999-02-01 12:50:53 +00:00
Hans-Peter Nilsson 9594b1b2a1 Makefile.in: Add missing dependencies for jcf-dump.o, gjavah.o, check-init.o, jv-scan.o
Thu Jan 28 09:17:51 1999  Hans-Peter Nilsson  <hp@axis.se>
	* java/Makefile.in: Add missing dependencies for jcf-dump.o,
	gjavah.o, check-init.o, jv-scan.o

From-SVN: r24955
1999-02-01 12:38:56 +00:00
Manfred Hollstein 8b84136b5f Makefile.am (noinst_PROGRAMS): Renamed from "bin_PROGRAMS" to avoid installing anything.
* util/Makefile.am (noinst_PROGRAMS): Renamed from "bin_PROGRAMS"
	to avoid installing anything.
	(noinst_SCRIPTS): Likewise.
 	* util/Makefile.in: Regenerate using automake-1.3.

From-SVN: r24954
1999-02-01 10:33:58 +00:00
Kaveh Ghazi 88ed5bb5eb Add 1999 copyright.
From-SVN: r24953
1999-02-01 07:05:07 +00:00