Commit Graph

8181 Commits

Author SHA1 Message Date
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
Jim Wilson
8301b6e263 (emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE,
pass address through force_operand before using it.

From-SVN: r8169
1994-09-29 16:59:45 -07:00
Jim Wilson
efbde2a29f (i960_setup_incoming_varargs): Store parameter registers
at proper offset in argument block.

From-SVN: r8168
1994-09-29 16:52:57 -07:00
Mike Stump
7a9a00be04 stmt.c (expand_return): We have to be careful of cleanups that can be generated when...
* stmt.c (expand_return): We have to be careful of cleanups that can
        be generated when expanding the return value, as they might otherwise
        wipe out the return value.

From-SVN: r8167
1994-09-29 23:43:02 +00:00
Richard Kenner
0f05a13c10 (i[34]86:UNIX_SV:4.*:*): Remove "UNIX_SV" for Unixware; move DYNIX
above this one now that this is wildcard.

From-SVN: r8166
1994-09-29 18:47:30 -04:00
Richard Kenner
92bd6bdc13 (struct option_map): Sort in alphabetical order.
(translate_options): Ignore option once an error occurs.
Fix error with reversed 'a' and 'o'.
Give error if specified abbreviation is unambiguous.

From-SVN: r8165
1994-09-29 18:24:38 -04:00
Mike Stump
7ee055f4ae expr.c (do_jump): Handle cleanups in TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.
* expr.c (do_jump): Handle cleanups in TRUTH_ANDIF_EXPR and
        TRUTH_ORIF_EXPR.

From-SVN: r8164
1994-09-29 20:45:05 +00:00
Michael Bushnell
b3738072bd *** empty log message ***
From-SVN: r8163
1994-09-29 20:16:09 +00:00
Richard Kenner
61179109fe (convert_for_assignment): When converting object to union...
(convert_for_assignment): When converting object to union, allow
converting the constant zero into a pointer member of the union.

From-SVN: r8162
1994-09-29 13:23:41 -04:00
Richard Kenner
0407367d53 (convert_move): Added handling of PDImode conversions.
From-SVN: r8161
1994-09-28 19:32:44 -04:00
Richard Kenner
f1ed434da0 (PSImode): Widens to PDImode.
From-SVN: r8160
1994-09-28 19:32:26 -04:00
Richard Kenner
d371356136 (FIXINCLUDES): Set to Makefile.in.
From-SVN: r8159
1994-09-28 19:24:12 -04:00
Brendan Kehoe
81613e4332 * except.c (register_exception_table): Use Pmode, not PTRmode.
From-SVN: r8158
1994-09-28 19:19:20 -04:00
Richard Kenner
e87ee2a99d (trampoline_address): Add missing call to round_trampoline.
From-SVN: r8157
1994-09-28 19:18:05 -04:00