Commit Graph

20670 Commits

Author SHA1 Message Date
Zack Weinberg
4d9a1b48f9 c-common.c (UNGETC [USE_CPPLIB=1]): Do nothing if c is EOF.
1999-02-15 16:59 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
	* c-common.c (UNGETC [USE_CPPLIB=1]): Do nothing if c is EOF.
	* c-lex.c: Likewise.
	* cpplib.c (cpp_push_buffer, cpp_pop_buffer): Use a linked
	list in malloced memory for the buffer stack.
	(cpp_get_token): Don't pop the last buffer off the stack.
	Calls after CPP_EOF has been returned produce CPP_EOF with no
	state change.
	(cpp_finish): Pop last buffer here.
	(do_line): Don't free ip->last_nominal_fname if it is equal to
	ip->fname.
	(special_symbol): If a T_CONST is the empty string, push a
	single `@ ' escape instead.
	(macroexpand): Special symbol buffers have escapes too.
	* cpplib.h (struct cpp_buffer): Remove unused fields, add prev
	buffer pointer.
	(struct cpp_reader): Remove buffer_stack.  Add
	buffer_stack_depth.
	(CPP_PREV_BUFFER, CPP_NULL_BUFFER): Buffer stack is now a
	linked list.

From-SVN: r25218
1999-02-15 14:04:21 +00:00
Kaveh R. Ghazi
bd86d7e2b2 cccp.c: Don't define HOST_WIDE_INT.
* cccp.c: Don't define HOST_WIDE_INT.  Replace all occurrences of
        WIDE_INT with WIDEST_INT.
        * cexp.y: Likewise.
        Don't define unsigned_HOST_WIDE_INT, CHAR_BIT or
        HOST_BITS_PER_WIDE_INT.  Replace occurrences of PRINTF_PROTO_1()
        style with PVPROTO() ATTRIBUTE_PRINTF_1 style macros.  Replace
        occurrences of "unsigned_HOST" with "unsigned HOST".  Provide a
        definition of variable `c89' when compiling a test binary and set it.
        * system.h: Don't define the PRINTF_PROTO_* macros.

From-SVN: r25217
1999-02-15 11:58:09 +00:00
Jeff Law
c4ae272555 loop.c (mark_loop_jump): Handle LO_SUM.
�
        * loop.c (mark_loop_jump): Handle LO_SUM.  If we encounter something
        we do not understand, mark the loop and containing loops as invalid.

From-SVN: r25215
1999-02-15 03:37:22 -07:00
Jeff Law
bc8ebe10f8 loop.c (mark_loop_jump): Handle LO_SUM.
�
        * loop.c (mark_loop_jump): Handle LO_SUM.  If we encounter something
        we do not understand, mark the loop and containing loops as invalid.

From-SVN: r25214
1999-02-15 03:37:19 -07:00
Jeff Law
8f19e99d5d Daily bump.
From-SVN: r25212
1999-02-14 17:45:02 -07:00
J"orn Rennecke
6ba14f9280 alias.c (init_alias_analysis): Avoid self-referential value when setting reg_known_value from REG_EQUAL notes.
* alias.c (init_alias_analysis): Avoid self-referential value
        when setting reg_known_value from REG_EQUAL notes.

From-SVN: r25211
1999-02-14 16:44:39 -07:00
Richard Henderson
c954bd0157 * i386.c (legitimate_address_p): Verify modes of base and index.
From-SVN: r25209
1999-02-14 15:13:11 -08:00
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