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
Richard Kenner
b5eda7762d
Install omitted hunk from last diff.
...
From-SVN: r8190
1994-10-01 06:44:43 -04:00
Doug Evans
78b4f18284
(process_command): Fix typo.
...
From-SVN: r8189
1994-10-01 03:57:21 +00:00
Richard Kenner
a0ae8e8de3
(add_insn_after): Abort if can't find AFTER and it has no NEXT_INSN.
...
(add_insn_before): New function.
(emit_{insn,insns,jump_insn,call_insn,barrier,note}_before): Call it.
From-SVN: r8188
1994-09-30 18:26:03 -04:00
Richard Kenner
9086a9bc1c
Initial revision
...
From-SVN: r8187
1994-09-30 17:33:35 -04:00
Richard Kenner
3f6d0a8c2e
(output_387_binary_op): Use AS2C instead of AS2 with null first arg.
...
From-SVN: r8186
1994-09-30 17:32:04 -04:00
Richard Kenner
3520fbfe93
Treat ALMOST_STDC like __STDC__.
...
(AS2C): New macro.
From-SVN: r8185
1994-09-30 17:31:44 -04:00
Richard Kenner
48ff801bda
Don't include sys/file.h for winnt; use process.h instead.
...
(concat): Now just concats two things; all callers changed.
(concat[346]): New functions.
(dir_separator_str): New variable.
(exec_prefixes, startfile_prefixes, include_prefixes): Renamed from same names
without plural; all users changed.
(find_a_file, process_command, do_spec_1): Use DIR_SEPARATOR.
(find_file, is_directory, main): Likewise.
(lookup_compiler): If OS/2, do case-independent search.
(fix_argv): New function on winnt.
(FIX_ARGV): New macro for some systems; use instead of argv.
From-SVN: r8184
1994-09-30 17:31:09 -04:00
Richard Kenner
7cc322e36f
(main): Use DIR_SEPARATOR if defined.
...
Use "Include" environment variable instead of CPATH for winnt.
From-SVN: r8183
1994-09-30 17:30:07 -04:00
Richard Kenner
eb910b5a56
Don't include times.h for winnt.
...
(get_run_time): Just return zero for winnt.
(main): Don't print memory usage for OS/2 or winnt.
From-SVN: r8182
1994-09-30 17:29:38 -04:00
Richard Kenner
369404d97d
Don't include syms.h for winnt.
...
From-SVN: r8181
1994-09-30 17:29:14 -04:00
Richard Kenner
fa0fdaec2c
#ifdef WINNT, include direct.h.
...
From-SVN: r8180
1994-09-30 17:27:51 -04:00
Richard Kenner
c499e03ace
(atoi): Remove declaration.
...
From-SVN: r8179
1994-09-30 17:27:29 -04:00
Richard Kenner
e7ad200600
(windowsnt): Alias for winnt.
...
(winnt): New OS name.
From-SVN: r8178
1994-09-30 17:26:44 -04:00
Mike Stump
eac293a1a8
48th Cygnus<->FSF merge
...
From-SVN: r8177
1994-09-30 00:51:03 +00:00
Jim Wilson
63f7136fd8
(movdf+3): Handle overlapping registers in define_split.
...
From-SVN: r8176
1994-09-29 17:31:34 -07:00
Jim Wilson
57cb9b6087
(default_compilers): Add %Z to all cpp specs.
...
(n_preprocessor_options, preprocessor_options): New variables.
(process_command): Handle -Wp option.
(do_spec_1): Handle %Z spec.
From-SVN: r8175
1994-09-29 17:13:09 -07:00
Jim Wilson
ba06166492
New file.
...
From-SVN: r8174
1994-09-29 17:11:02 -07:00
Jim Wilson
1128e255b1
(os): Accept coff as an OS.
...
From-SVN: r8173
1994-09-29 17:07:41 -07:00
Jim Wilson
d18d5ca2bc
(call): Use struct value pattern is struct size is not equal to zero instead of greater than zero.
...
(call): Use struct value pattern is struct size is not
equal to zero instead of greater than zero.
(call+7, call+8): New patterns for untyped calls.
(untyped_call): Revise to emit explicit rtl for all operation.
Delete four old patterns that matched the unexpanded untyped_call
pattern.
(blockage): New pattern.
(flush_register_windows): Modify from 0 to 1.
(goto_handler_and_restore): Modify from 1 to 2.
(flush): Modify from 2 to 3.
From-SVN: r8172
1994-09-29 17:05:20 -07:00
Jim Wilson
eda74c8b4f
(sparc_initialize_trampoline): FLUSH is now 3 not 2.
...
From-SVN: r8171
1994-09-29 17:04:04 -07:00
Jim Wilson
1899299599
(result_vector): Use INCOMING_REGNO when !savep instead
...
of when savep.
From-SVN: r8170
1994-09-29 17:02:36 -07:00