Commit Graph

20863 Commits

Author SHA1 Message Date
Richard Henderson
59be65f6b5 i386.c (legitimate_pic_address_disp_p): Remove static.
* i386.c (legitimate_pic_address_disp_p): Remove static.
        * i386.h (LEGITIMATE_PIC_OPERAND_P): Use it instead of
        open-coding cases.

From-SVN: r25208
1999-02-14 15:02:16 -08:00
Jeffrey A Law
c5d5d46141 except.c (start_catch_handler): Use emit_cmp_and_jump_insns.
* except.c (start_catch_handler): Use emit_cmp_and_jump_insns.
        * explow.c (probe_stack_range): Likewise.
        * expmed.c (do_cmp_and_jump): Likewise.
        * expr.c (store_expr, expand_expr, expand_builtin): Likewise.
        (do_tablejump): Likewise.
        * stmt.c (expand_expr_stmt, expand_end_case): Likewise.
        (do_jump_if_equal, emit_case_nodes): Likewise.
        * optabs.c (emit_cmp_and_jump_insns): Clarify comments.  If UNSIGNEDP,
        then convert comparison to an unsigned code before emitting the jump.
        (expand_float, expand_fix): Use emit_cmp_and_jump_insns.

From-SVN: r25205
1999-02-14 13:08:39 -07:00
Craig Burley
d4ddd7b977 bump lib[IU]77's Version.c
From-SVN: r25204
1999-02-14 14:06:31 -05:00
Craig Burley
60d19ba06d bump g77's version.c
From-SVN: r25203
1999-02-14 14:02:33 -05:00
Craig Burley
3b959d0843 bump g77's version.c
From-SVN: r25200
1999-02-14 12:41:26 -05:00
Craig Burley
d1d80a921c Allow .FOR and .FPP suffixes for Fortran source files
From-SVN: r25198
1999-02-14 06:42:50 -05:00
Craig Burley
2bf8f6bc4e fix LOG10 docs
From-SVN: r25196
1999-02-14 00:28:09 -05:00
Craig Burley
90b8e60a8e document forgotten fix circa egcs-1.1
From-SVN: r25194
1999-02-14 00:09:10 -05:00
Jeffrey A Law
345bee933f Bump for snapshot
From-SVN: r25191
1999-02-13 19:24:21 -07:00
Craig Burley
995399e292 forgot entries for last 2 patches
From-SVN: r25190
1999-02-13 20:57:24 -05:00
Craig Burley
26b9526eae doc, index improvements
From-SVN: r25189
1999-02-13 20:39:59 -05:00
Craig Burley
016842937d fix MCLOCK8, TIME8 descriptions
From-SVN: r25188
1999-02-13 20:37:49 -05:00
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