Commit Graph

20801 Commits

Author SHA1 Message Date
Jeffrey A Law
ed8def4f81 Bump for snapshot
From-SVN: r25187
1999-02-13 18:15:08 -07:00
Jeff Law
65120a9b10 Daily bump.
From-SVN: r25186
1999-02-13 17:45:02 -07:00
Jeffrey A Law
22f8036e5f * gcc.dg/990214-1.c: New test.
From-SVN: r25185
1999-02-13 17:27:28 -07:00
Jeffrey A Law
9f4ec51572 loop.c: Disable recent loop changes.
* loop.c: Disable recent loop changes.  Temporary as Joern
        continues to fix problems.

From-SVN: r25184
1999-02-13 16:47:23 -07:00
Richard Henderson
ba12c883e6 loop.c (combine_givs_used_by_other): Delete.
* loop.c (combine_givs_used_by_other): Delete.
        (combine_givs_benefit_from): Delete.
        (combine_givs): Deny combination of givs only used once.  Simplify
        code with the death of combine_givs_benefit_from.

From-SVN: r25183
1999-02-13 15:25:19 -08:00
Michael Hayes
77854601c2 loop.c (scan_loop): Call reg_in_basic_block_p before loop_reg_used_before_p.
* loop.c (scan_loop): Call reg_in_basic_block_p before
	loop_reg_used_before_p.

From-SVN: r25182
1999-02-13 14:25:58 +00:00
Jeffrey A Law
3c602fcbd2 * gcc.dg/990213-2.c: New test.
From-SVN: r25180
1999-02-13 05:23:26 -07:00
Richard Earnshaw
43cffd112f arm.md: Use gen_rtx_FOO instead of gen_rtx (FOO, ...).
* arm.md: Use gen_rtx_FOO instead of gen_rtx (FOO, ...).
* arm.h: Likewise.
* arm.c: Likewise.
* arm.h (TARGET_OPTIONS): Reformat for clarity.
(GO_IF_LEGITIMATE_ADDRESS): When generating PIC, references to symbols
in the constant pool aren't valid.
(LEGITIMATE_PIC_OPERAND_P): Likewise.
* arm.c: Include "system.h", not stdio.h and string.h.

From-SVN: r25175
1999-02-13 05:41:18 +00:00
Jeff Law
b4fce8ab0e Daily bump.
From-SVN: r25174
1999-02-12 17:45:03 -07:00
Jeffrey A Law
68fe00c07c * gcc.dg/990213-1.c: New test.
From-SVN: r25173
1999-02-12 16:47:51 -07:00
Joern Rennecke
dd074554d1 Formatting fix.
From-SVN: r25171
1999-02-12 16:25:20 +00:00
Jim Wilson
564ea0512d Fix linux-x-cygwin build failure with readline.
* stmt.c (expand_return): Return if optimize_tail_recursion succeeded.
	(optimize_tail_recursion): Change return type from void to int.
	Add return statements.
	* tree.h (optimize_tail_recursion): Change prototype to match.

From-SVN: r25170
1999-02-12 05:31:48 -08:00
J"orn Rennecke
22505ad8f3 reload.c (find_reloads_subreg_address): New function, broken out of find_reloads_toplev.
* reload.c (find_reloads_subreg_address): New function, broken out of
	find_reloads_toplev.
	(find_reloads_toplev, find_reloads_address_1): Use it.

From-SVN: r25169
1999-02-12 13:12:48 +00:00
Jeffrey A Law
01d5caad02 h8300.md (zero_extendhisi2 H8/300 variant): Correctly handle extending a CONST_INT.
Fri Feb 12 13:20:52 1999  Jeffrey A Law  (law@cygnus.com)
        * h8300.md (zero_extendhisi2 H8/300 variant): Correctly handle
        extending a CONST_INT.
        * h8300.md (peephole for combining memrefs): Delete incorrect peephole.

From-SVN: r25168
1999-02-12 05:25:44 -07:00
J"orn Rennecke
a6207a2b7e loop.c (loop_insn_first_p, [...]): New functions.
* loop.c (loop_insn_first_p, biv_elimination_giv_has_0_offset):
	New functions.
	(maybe_eliminate_biv_1): Use biv_elimination_giv_has_0_offset.

From-SVN: r25167
1999-02-12 10:33:17 +00:00
Jeffrey A Law
354a5b0721 990106-2.c: Update to work on targets with 16bit ints.
Fri Feb 12 11:04:35 1999  Jeffrey A Law  (law@cygnus.com)
        * gcc.c-torture/990106-2.c: Update to work on targets with 16bit
        ints.

From-SVN: r25166
1999-02-12 03:06:42 -07:00
J"orn Rennecke
826947c572 loop.c (load_mems): Don't guess how to do a load / store, use emit_move_insn.
* loop.c (load_mems): Don't guess how to do a load / store, use
	emit_move_insn.

From-SVN: r25165
1999-02-12 08:57:56 +00:00
Kaveh R. Ghazi
f80d6fd707 * system.h: Provide a definition for HOST_WIDEST_INT, etc.
From-SVN: r25164
1999-02-12 06:32:36 +00:00
Michael Hayes
21034cc500 c4x.c (c4x_address_cost): Revert 9 Feb change.
* config/c4x/c4x.c (c4x_address_cost): Revert 9 Feb change.
(While this patch fixed GIV combination for complex arithmetic
it screwed up generation of autoincrement addresses for the common cases.)

From-SVN: r25163
1999-02-12 02:41:28 +00:00
Jeffrey A Law
3520cdec81 reload.c (find_reloads_address_1): Fix handling of an autoincremented pseudo which is homed in the stack.
* reload.c (find_reloads_address_1): Fix handling of an autoincremented
        pseudo which is homed in the stack.

From-SVN: r25162
1999-02-11 17:49:04 -07:00
Jeff Law
49f79f8209 Daily bump.
From-SVN: r25161
1999-02-11 17:45:02 -07:00
Jeffrey A Law
d1d3a2df28 mips.c (save_restore_insns): Fix loop to save/restore FP registers.
* mips.c (save_restore_insns): Fix loop to save/restore FP registers.
        (compute_frame_size): Change loop over FP regs to be consistent
        with the loop in save_restore_insns.

From-SVN: r25160
1999-02-11 16:55:21 -07:00
Craig Burley
c7ce20112f add reference to Goldberg addendum doc
From-SVN: r25159
1999-02-11 16:40:48 -05:00
Jim Wilson
d86037fab0 i960.h (OVERRIDE_OPTIONS): Warn if -mlong-double-64 is used.
Thu Feb 11 17:38:40 1999  Jim Wilson  <wilson@cygnus.com>
	* i960/i960.h (OVERRIDE_OPTIONS): Warn if -mlong-double-64 is used.
	(LONG_DOUBLE_TYPE_SIZE): Undef then unconditionally define to 96.

From-SVN: r25155
1999-02-11 14:48:43 +00:00
Jeffrey A Law
d64ca10053 * mn10200.md (bset); Re-enable.
From-SVN: r25154
1999-02-11 07:15:47 -07:00
Nick Clifton
60f29ff748 Fix typo
From-SVN: r25153
1999-02-11 12:03:56 +00:00
J"orn Rennecke
0603a39d29 sh.md (is_sfunc): New attribute.
* sh.md (is_sfunc): New attribute.
	* sh.h (INSN_SETS_ARE_DELAYED, INSN_REFERENCES_ARE_DELAYED): Use it.

From-SVN: r25152
1999-02-11 07:48:50 +00:00
Jeff Law
9a95b64adf Daily bump.
From-SVN: r25150
1999-02-10 17:45:34 -07:00
Jeffrey A Law
3e6ccc1153 * gcc.c-torture/execute/990211-1.c: New test from Nathan SIdwell.
From-SVN: r25149
1999-02-10 17:15:54 -07:00
Nathan Sidwell
d7b3ea38e0 fold-const.c (range_binop): Take account of the bounded nature of fixed length arithmetic when...
h
	* fold-const.c (range_binop): Take account of the bounded nature
	of fixed length arithmetic when comparing unbounded ranges.

From-SVN: r25146
1999-02-10 17:10:47 -07:00
Nathan Sidwell
708bcaa7b1 fold-const.c (range_binop): Take account of the bounded nature of fixed length arithmetic when...
�
	* fold-const.c (range_binop): Take account of the bounded nature
	of fixed length arithmetic when comparing unbounded ranges.

From-SVN: r25145
1999-02-10 17:10:44 -07:00
Jason Merrill
efe38fabae decl.c (grokdeclarator): Catch wierd declarators.
* decl.c (grokdeclarator): Catch wierd declarators.
	* decl2.c (finish_file): Don't abort because of namespace parsing
	failure.
	(check_decl_namespace): Remove.

From-SVN: r25144
1999-02-10 19:00:28 -05:00
John Wehle
d16790f212 function.c (assign_stack_temp_for_type): Clear best_p when an exact match is found.
* function.c (assign_stack_temp_for_type): Clear best_p
        when an exact match is found.
        * i386.h (LOCAL_ALIGNMENT): Define.
        * function.c (assign_stack_local, assign_outer_stack_local): Use it.
        (assign_stack_temp_for_type): New function based on assign_stack_temp.
        (assign_stack_temp): Call it.
        (assign_temp): Use assign_stack_temp_for_type, not assign_stack_temp.
        * stmt.c: Use assign_temp, not assign_stack_temp.
        * tm.texi: Document LOCAL_ALIGNMENT.

From-SVN: r25143
1999-02-10 16:10:43 -07:00
Jeffrey A Law
b111589b09 * reorg.c: Finish deleting half-deleted comment.
From-SVN: r25142
1999-02-10 15:32:26 -07:00
Jeffrey A Law
e860aea39d jvspec.c (xmalloc): Kill the prototype.
* jvspec.c (xmalloc): Kill the prototype.  It does not belong
        here anymore.

From-SVN: r25141
1999-02-10 15:28:58 -07:00
Jim Wilson
b5a3eb8445 Fix 64b-x-32b cross compiler breakage. Make alpha-x-m32r work again.
* emit-rtl.c (operand_subword): Sign extend REAL_VALUE_TO_TARGET_SINGLE
	result.
	* final.c (split_double): Sign extend REAL_VALUE_TO_TARGET_DOUBLE
	result.
	* real.c (endian): Delete sign extension code.
	* config/m32r/m32r.md (movsf_insn+1): REAL_VALUE_TO_TARGET_SINGLE call
	replaced with operand_subword call.

From-SVN: r25140
1999-02-10 09:28:24 -08:00
Jonathan Larmour
01dd4564b6 Test gcc features used by ECOS.
* gcc.dg/special/ecos.exp: New test driver for new tests with
	special requirements.
	* gcc.dg/special/alias-1.c: New test.
	* gcc.dg/special/gcsec-1.c: New test.
	* gcc.dg/special/weak-1.c: New test.
	* gcc.dg/special/weak-1a.c: Accompanying file to weak-1.c.
	* gcc.dg/special/weak-2.c: New test.
	* gcc.dg/special/weak-2a.c: Accompanying file to weak-2.c.
	* gcc.dg/special/weak-2b.c: Accompanying file to weak-2.c.
	* gcc.dg/special/wkali-1.c: New test.
	* gcc.dg/special/wkali-2.c: New test.
	* gcc.dg/special/wkali-2a.c: Accompanying file to wkali-2.c.
	* gcc.dg/special/wkali-2b.c: Accompanying file to wkali-2.c.

From-SVN: r25139
1999-02-10 08:00:06 -08:00
Richard Henderson
809afeef87 alpha.md (cmov compound patterns): Delete.
* alpha.md (cmov compound patterns): Delete.  Jump can now
        create the correct constructs in the first place.

From-SVN: r25138
1999-02-10 07:17:20 -08:00
Alexandre Petit-Bianco
fa2bb9fd4e lex.c (yylex): Encode \0 as UTF8.
1999-02-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* lex.c (yylex): Encode \0 as UTF8.

From-SVN: r25137
1999-02-10 15:11:25 +00:00
Tom Tromey
00368bdd0f jvspec.c (lang_specific_driver): Use libgcj, not libjava.
* jvspec.c (lang_specific_driver): Use libgcj, not libjava.
	* Makefile.in (jcf-path.o): Define LIBGCJ_ZIP_FILE.
	(libgcj_zip): Renamed.
	* jcf-path.c (add_entry): Use LIBGCJ_ZIP_FILE, not
	LIBJAVA_ZIP_FILE.
	(jcf_path_init): Use LIBGCJ_ZIP_FILE.

From-SVN: r25136
1999-02-10 14:27:53 +00:00
Tom Tromey
0ffe9eeafa jvspec.c (THREAD_NAME): Renamed -lqthreads to -lgcjcoop.
* jvspec.c (THREAD_NAME): Renamed -lqthreads to -lgcjcoop.
	(GC_NAME): Renamed -lgc to -lgcjgc.

From-SVN: r25135
1999-02-10 14:05:24 +00:00
Jeffrey A Law
21375863a0 * mn10200.md (bset, bclr): Operand 0 is a read/write operand.
From-SVN: r25134
1999-02-10 05:37:42 -07:00
Felix Lee
05a596505c Cleanup and bug-fix patch from Felix Lee.
* lib/c-torture.exp (c-torture-compile): Pull out code for
        analyzing gcc error messages.
        (c-torture-execute): Likewise.  Fix some (harmless) false
        positives.
        * lib/gcc.exp (gcc_check_compile): New function.

From-SVN: r25133
1999-02-10 04:26:21 -08:00
Richard Henderson
44e95b192c * configure.in (alphaev6*): Fix typo in target_cpu_default2.
From-SVN: r25132
1999-02-10 03:08:04 -08:00
Mumit Khan
d25346e71f * gen-params (VTABLE_LABEL_PREFIX): Handle windows32.
From-SVN: r25130
1999-02-10 04:04:34 -07:00
Dave Brolley
4d2a3f76f2 mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.
Wed Feb 10 13:59:18 1999  Dave Brolley  <brolley@cygnus.com>
	* mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.

From-SVN: r25129
1999-02-10 06:00:12 -05:00
Mark Mitchell
00aeceec1b cp-tree.h (get_template_base): Don't declare.
* cp-tree.h (get_template_base): Don't declare.
	(dfs_walk): Declare.
	(dfs_unmark): Likewise.
	(markedp): Likewise.
	* pt.c (unify): Remove duplicate declaration.  Pass tparms and
	targs to get_template_base.
	(get_template_base_recursive): Move here from search.c.  Check to
	see that the base found can be instantiated to form the desired
	type.
	(get_template_base): Likewise.
	(get_class_bindings): Simplify.
	* search.c (get_template_base_recursive): Move to pt.c.
	(get_template_base): Likewise.
	(markedp): Make it global.
	(dfs_walk): Likewise.
	(dfs_unmark): Likewise.

From-SVN: r25128
1999-02-10 10:46:30 +00:00
Jim Wilson
a3b3fa5eb7 Delete temporary file.
From-SVN: r25127
1999-02-10 02:35:40 -08:00
Mark Mitchell
fcfb9f965e cp-tree.h (get_template_base): Don't declare.
* cp-tree.h (get_template_base): Don't declare.
	(dfs_walk): Declare.
	(dfs_unmark): Likewise.
	(markedp): Likewise.
	* pt.c (unify): Remove duplicate declaration.  Pass tparms and
	targs to get_template_base.
	(get_template_base_recursive): Move here from search.c.  Check to
	see that the base found can be instantiated to form the desired
	type.
	(get_template_base): Likewise.
	(get_class_bindings): Simplify.
	* search.c (get_template_base_recursive): Move to pt.c.
	(get_template_base): Likewise.
	(markedp): Make it global.
	(dfs_walk): Likewise.
	(dfs_unmark): Likewise.

From-SVN: r25126
1999-02-10 10:28:07 +00:00
Mark Mitchell
ef30399b50 rtlanal.c (for_each_rtx): Fix declaration to conform to GNU coding standards.
* rtlanal.c (for_each_rtx): Fix declaration to conform to GNU
	coding standards.

From-SVN: r25125
1999-02-10 09:56:36 +00:00