Commit Graph

8515 Commits

Author SHA1 Message Date
Richard Kenner
a70d613d76 (HAVE_STRERROR): Define.
From-SVN: r8240
1994-10-07 19:10:25 -04:00
Richard Kenner
aae807c0f4 (my_strerror): If HAVE_STRERROR defined, call strerror.
From-SVN: r8239
1994-10-07 19:09:12 -04:00
Richard Kenner
e19571dbde (preserve_temp_slots): If X cannot be a temp slot, preserve all things
whose address was taken at the present level.

From-SVN: r8238
1994-10-07 16:13:58 -04:00
Michael Meissner
3d771dfd7a Do not allow SUBREGs as either base or index register.
From-SVN: r8237
1994-10-07 19:45:00 +00:00
Richard Kenner
45524ce90e Fix typo in last change.
From-SVN: r8236
1994-10-07 08:36:00 -04:00
Richard Kenner
303ec2aa60 (assign_stack_temp): Abort if SIZE == -1.
From-SVN: r8235
1994-10-07 08:28:44 -04:00
Richard Kenner
6676e72f96 (safe_from_p): If EXP has a variable size, assume safe.
(preexpand_calls): Don't preexpand a call that returns a variable-sized object.

From-SVN: r8234
1994-10-07 08:26:47 -04:00
Richard Kenner
fef0509b3d (add_insn_{after,before}): Fix error in last change.
From-SVN: r8233
1994-10-07 08:24:36 -04:00
Per Bothner
f847788b7f Patch to handle old Convex systems (without uname).
From-SVN: r8232
1994-10-06 18:03:20 -07:00
Richard Kenner
1bbd065b6c (cse_insn): Don't call force_const_mem on (const (truncate)).
From-SVN: r8231
1994-10-06 17:38:35 -04:00
Kresten Krab Thorup
ffa8bd9bcb (BOOL): Changed from char to unsigned char.
From-SVN: r8230
1994-10-06 16:24:03 +00:00
Kresten Krab Thorup
b962cd0b23 Delay eeing when unarchiving.
From-SVN: r8229
1994-10-06 16:17:38 +00:00
Stan Cox
9a9a996b7b If operand1 is an invalid PIC address, then legitimize it before doing anything else.
From-SVN: r8228
1994-10-06 15:13:26 +00:00
Richard Kenner
22619c3f61 (store_expr): Don't clobber TEMP with address.
From-SVN: r8227
1994-10-06 07:25:21 -04:00
Richard Kenner
ce15adaa11 (try_merge_delay_insns): Update THREAD if it is split.
From-SVN: r8226
1994-10-06 06:57:08 -04:00
Richard Kenner
af5b53ed8d (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken.
From-SVN: r8225
1994-10-06 06:53:40 -04:00
Richard Kenner
a25d4ba2f6 (struct temp_slot): New field addr_taken.
(assign_stack_temp): Initialize it.
(mark_temp_addr_taken): New function.
(preserve_temp_slots): Decrement level of things at same level but whose
address has been taken.

From-SVN: r8224
1994-10-06 06:52:10 -04:00
Jason Merrill
3ac4f0e6d0 (fold, COMPONENT_REF): Don't die if the CONSTRUCTOR
doesn't initialize the field we want.

From-SVN: r8223
1994-10-05 23:08:12 +00:00
Michael Meissner
c399861d39 Supprt LABEL_REFs when using -fpic.
From-SVN: r8222
1994-10-05 18:37:55 +00:00
Richard Kenner
8ad4abfc94 (try_merge_delay_insns): Update THREAD if deleting first insn in it.
From-SVN: r8221
1994-10-05 06:56:25 -04:00
Roland McGrath
90768f280e Move #include <fcntl.h> out of here, into xm-gnu.h.
From-SVN: r8220
1994-10-05 05:39:47 +00:00
Roland McGrath
cc5e3be179 Initial revision
From-SVN: r8219
1994-10-05 05:30:42 +00:00
Ian Lance Taylor
c46ceec1d3 Include <sys/wait.h> on a POSIX system
From-SVN: r8218
1994-10-05 03:20:19 +00:00
Michael Bushnell
f4d21c5c16 Define O_RDONLY if not already defined and use it in read_specs's call
to open.

From-SVN: r8217
1994-10-05 01:52:40 +00:00
Michael Bushnell
0c85e387f5 Include <fcntl.h>.
From-SVN: r8216
1994-10-05 01:49:05 +00:00
Richard Kenner
41dfd40ca0 Fix error in last change.
From-SVN: r8215
1994-10-04 21:42:54 -04:00
Richard Kenner
34661f5c30 (do_jump_for_compare): Properly scan insns when branch is at start of
sequence.

From-SVN: r8214
1994-10-04 19:06:09 -04:00
Ian Lance Taylor
0b90f9c2dc If the POSIX.1 wait macros are defined, use them.
From-SVN: r8213
1994-10-04 20:53:02 +00:00
Michael Meissner
713225d41d Fix return complex doubles with -fpic clobbering %ebx
From-SVN: r8212
1994-10-04 20:47:05 +00:00
Jim Wilson
80dd763062 (PREFERRED_DEBUGGING_INFO): Add undef before define.
From-SVN: r8211
1994-10-04 12:57:51 -07:00
Richard Stallman
cc3311068d Translate -gnu/linux* to -linux*.
From-SVN: r8210
1994-10-04 09:12:29 +00:00
Ian Lance Taylor
003f7c3e79 Add support for MIPS variants
From-SVN: r8209
1994-10-03 15:43:16 +00:00
Roland McGrath
af30cdc3df Recognize GNU.
From-SVN: r8208
1994-10-03 05:48:44 +00:00
Richard Kenner
8b11645c88 Complete last change.
From-SVN: r8207
1994-10-02 20:44:08 -04:00
Jason Merrill
cafbaf85f5 (save_tree_status): Add argument to indicate that the new function is not a nested function.
(save_tree_status): Add argument to indicate that the new
        function is not a nested function.
        (restore_tree_status): Ditto.

From-SVN: r8206
1994-10-02 23:17:08 +00:00
Jason Merrill
e4a4639ef0 ontext, adds argument to indicate that the new function is not a nested function.
ontext, adds argument to indicate that the new
        function is not a nested function.
        (push_function_context): Call it.
        (pop_function_context{,_from}): Similarly.

From-SVN: r8205
1994-10-02 23:16:51 +00:00
Richard Kenner
2289ec9d14 (subst_stack_regs): Check for NOTE to see if insn was deleted.
From-SVN: r8204
1994-10-02 15:17:43 -04:00
Richard Kenner
9bfe7965ed (fill_slots_from_thread): Update THREAD if deleting its first insn.
From-SVN: r8203
1994-10-02 14:58:47 -04:00
Richard Earnshaw
988337ca70 (zero_extendhisi2, extendhisi2): Expand to suitable byte sequence when TARGET_SHORT_BYTES and loading a mem.
(zero_extendhisi2, extendhisi2): Expand to suitable byte sequence when
TARGET_SHORT_BYTES and loading a mem.
(movhi_bytes, extendhisi2_mem): New expands.
(movhi): Call movhi_bytes to load a short from memory if
TARGET_SHORT_BY_BYTES.
(all matchers loading a short from memory): Don't match if
TARGET_SHORT_BY_BYTES.
(matcher for movhi when TARGET_SHORT_BY_BYTES): New pattern to cover
remaining legal cases.

From-SVN: r8202
1994-10-02 15:11:02 +00:00
Richard Earnshaw
0a81f50004 (arm_reload_in_hi): New function.
From-SVN: r8201
1994-10-02 15:10:48 +00:00
Richard Earnshaw
2ce9c1b9e1 (TARGET_SHORT_BY_BYTES): New macro.
(TARGET_SWITCHES): Recognize switches -m[no-]short-load-bytes.
(TARGET_DEFAULT): Only define if not already done so.
(PROMOTE_MODE): Promote HImode unsigned if TARGET_SHORT_BY_BYTES.
(SECONDARY_INPUT_RELOAD_CLASS): Need a scratch for reloading HImode if
TARGET_SHORT_BY_BYTES.

From-SVN: r8200
1994-10-02 15:10:27 +00:00
Richard Earnshaw
0b9d35ddc1 (movsf): If reloading, create a scratch from the target for loading a constant into integer regs.
(movsf): If reloading, create a scratch from the target for loading a
constant into integer regs.
(movdf): Likewise..

From-SVN: r8199
1994-10-02 14:25:07 +00:00
Richard Kenner
2e7238ee73 (delete_insn_for_stacker): Don't set INSN_DELETED_P on
NOTE_INSN_DELETED.

From-SVN: r8198
1994-10-02 08:54:22 -04:00
Richard Kenner
c253e4083a (CC, OLDCC, RCCFLAGS, CCLIBFLAGS, CLIB, ALLOCA): From x-sco.
(X_CFLAGS): Remove.

From-SVN: r8197
1994-10-01 20:42:28 -04:00
Richard Kenner
4076e1bb46 (CLIB): Add "-lmalloc".
(ALLOCA): Define as "-lPW".

From-SVN: r8196
1994-10-01 20:42:09 -04:00
Richard Kenner
3e3f03e8ff (CPP_PREDEFINES): Remove i386, unix.
(CPP_SPEC): Add them here, so that they're undefined if -ansi.
Also add _i386 and _unix, which are always defined.

From-SVN: r8195
1994-10-01 20:41:51 -04:00
Richard Kenner
cd423eadfe (jump_optimize): When deleting a jump, properly set NEXT.
(duplicate_loop_exit_test): Don't insety NOTE_INSN_LOOP_VTOP before deleted
insn; insert first, then delete.

From-SVN: r8194
1994-10-01 20:35:09 -04:00
Richard Kenner
ba21328576 (add_insn_{before,after}): Abort if insertion point is a deleted insn.
From-SVN: r8193
1994-10-01 20:34:45 -04:00
Michael Meissner
640667cb69 Prefer float registers for movdf.
From-SVN: r8192
1994-10-01 18:27:23 +00:00
Richard Earnshaw
a784882b53 (shadow_label): Emit an error if the label is already
declared at this label scope.

From-SVN: r8191
1994-10-01 10:58:44 +00:00