Commit Graph

5206 Commits

Author SHA1 Message Date
Richard Stallman
7e3f19ea02 (making LIB absolute): Just concat with $ORIG_DIR.
From-SVN: r4969
1993-07-23 07:12:05 +00:00
Jeff Law
83fd5651e6 reorg.c (relax_delay_slots): Do not redirect a jump if doing so invalidates insns in the jump's delay slots.
* reorg.c (relax_delay_slots): Do not redirect a jump if doing so
        invalidates insns in the jump's delay slots.
        (redirect_with_delay_slots_safe_p): New function.

From-SVN: r4968
1993-07-22 20:59:46 -06:00
John Hassey
a61a052b0d Don't use fldcr to serialize it is broken on the 88110...
Don't use fldcr to serialize it is broken on the 88110, use tb1 instead
Made serialize-volatile the deault for all models.

From-SVN: r4967
1993-07-23 01:16:21 +00:00
John Hassey
57bc9c689e Don't use fldcr to serialize it is broken on the 88110...
Don't use fldcr to serialize it is broken on the 88110, use tb1 instead
Made serialize-volatile the default for all models.

From-SVN: r4966
1993-07-23 01:08:12 +00:00
Richard Stallman
19d63af99d When fixing ftw.h, preserve remainder of
ftw and nftw declaration; don't just rewrite it.

From-SVN: r4965
1993-07-22 05:45:31 +00:00
Jim Wilson
092dded9eb (expand_expr, COMPONENT_REF case): For unaligned object
in an aligned union, set MEM_IN_STRUCT_P if create a MEM rtx.

From-SVN: r4964
1993-07-21 15:05:43 -07:00
Jim Wilson
f3a9d1e61d (output_move_double): Only set highest_first if first reg of dest overlaps memory src address.
(output_move_double): Only set highest_first if first reg
of dest overlaps memory src address.  Otherwise, if addreg1 set and
is same as second reg of dest, suppress trailing decrement.

From-SVN: r4963
1993-07-21 15:00:03 -07:00
Jim Wilson
74fb18d0db (movdi+1): Delete & from r/i constraint.
From-SVN: r4962
1993-07-21 14:48:35 -07:00
Jim Wilson
1987bdfaac (<ftw.h>): Don't apply specialized fixes to <ftw.h> if we are on Solaris.
(<ftw.h>):  Don't apply specialized fixes to <ftw.h>
if we are on Solaris.  They are not needed in that case.

From-SVN: r4961
1993-07-21 14:46:38 -07:00
Jim Wilson
ca5c3ef417 (nonlocal_label_list): New variable.
(combine_instructions): Set it.
(try_combine, distribute_links): CALL_INSN terminates a basic
block if nonlocal_label_list is set.

From-SVN: r4960
1993-07-21 14:44:07 -07:00
Jim Wilson
6630a02613 (CPP_SPEC): Define LANGUAGE_ASSEMBLY, not
LANGUAGE_C, when compiling a .s file.

From-SVN: r4959
1993-07-21 14:37:14 -07:00
Jim Wilson
0e91606a8b (TARGET_SWITCHES): Recognize -m68851, -mno-68851,
-m68302, -mno-68302, -m68332, -mno-68332.

From-SVN: r4958
1993-07-21 14:27:53 -07:00
Jim Wilson
4fb420c292 New file.
From-SVN: r4957
1993-07-21 14:22:31 -07:00
Jim Wilson
fb5fd60897 (OVERRIDE_OPTIONS, SUBTARGET_OVERRIDE_OPTIONS): Define.
From-SVN: r4956
1993-07-21 14:21:10 -07:00
Jim Wilson
3151d2aa29 New File.
From-SVN: r4955
1993-07-21 14:19:38 -07:00
Jim Wilson
84ab3bfb9b (TARGET_SWITCHES): Add SUBTARGET_SWITCHES.
(OVERRIDE_OPTIONS): Add SUBTARGET_OVERRIDE_OPTIONS.
(SUBTARGET_SWITCHES, SUBTARGET_OVERRIDE_OPTIONS): Define.

From-SVN: r4954
1993-07-21 14:18:45 -07:00
Jim Wilson
1f1ff018a2 (sys/types.h sys/stdtypes.h): Delete newline before do.
(machine/cpu.h): Delete space in `2>& 1'.

From-SVN: r4953
1993-07-21 14:04:54 -07:00
Jim Wilson
1e79329271 (lynx): Recognize as vendor.
(lynxos): Recognize as OS.

From-SVN: r4952
1993-07-21 14:00:37 -07:00
Jim Wilson
a2dfec996f (link_command_spec): Move %{T*} after %{L*} and %D.
From-SVN: r4951
1993-07-21 13:43:56 -07:00
Jim Wilson
dc4f75b473 (ashldi3, lshrdi3): Obsolete, deleted.
From-SVN: r4950
1993-07-21 12:49:28 -07:00
Jim Wilson
8c597270e2 (expand_binop): Synthesize double word shifts and rotates from single word
shifts.

From-SVN: r4949
1993-07-21 12:44:20 -07:00
Richard Stallman
c52d2678ed Finish last change.
From-SVN: r4948
1993-07-21 03:41:16 +00:00
Richard Stallman
cf0fc80a45 (is_ctor_dtor): Delete leading _'s from sym names
in `special' table, in neither-dots-nor-dollars case.

From-SVN: r4947
1993-07-21 03:36:21 +00:00
Michael Meissner
e2bf4cfc94 Do not turn on -mhalf-pic if ELF.
From-SVN: r4946
1993-07-21 01:48:07 +00:00
Richard Kenner
fe2db4fb68 Add prototypes for static functions.
(subst, case IF_THEN_ELSE): Add missing arg to make_compound_operation.
(make_compound_operation, case ASHIFTRT): Delete extra gen_unary arg.

From-SVN: r4945
1993-07-20 15:06:35 -04:00
Richard Stallman
a358cee0e5 (expand_increment): Convert constant subtract to add before setting single_insn.
(expand_increment): Convert constant subtract to add
before setting single_insn.  Compensate for this when choosing
the tree code to pass to `build'.

From-SVN: r4944
1993-07-20 06:23:58 +00:00
Richard Kenner
04780ee7ea Add variants of call and call_value patterns for calls to functions defined in the same file.
Add variants of call and call_value patterns for calls to functions
defined in the same file.  Omit the TOC pointer reload after such
calls.

From-SVN: r4943
1993-07-19 18:10:12 -04:00
Richard Kenner
b4f892eb33 (ENCODE_SECTION_INFO): New macro.
(PREDICATE_CODES): Add current_file_function_operand.

From-SVN: r4942
1993-07-19 18:09:32 -04:00
Richard Kenner
2af3d377ff (current_file_function_operand): New function.
From-SVN: r4941
1993-07-19 18:09:05 -04:00
Jeff Law
733fa7ef0a reorg.c (fill_simple_delay_slots): Try filling any insn needing delay slots with a JUMP_INSN.
* reorg.c (fill_simple_delay_slots): Try filling any insn needing
	delay slots with a JUMP_INSN.

From-SVN: r4940
1993-07-19 11:16:53 -06:00
Richard Stallman
1c2a9b35f7 (c_expand_return): Set TREE_SIDE_EFFECTS for the MODIFY_EXPR that we make.
(build_unary_op): Support CONJ_EXPR.
Change BIT_NOT_EXPR to CONJ_EXPR if arg is complex.

From-SVN: r4939
1993-07-18 20:27:18 +00:00
Richard Stallman
551064b16e (fold): Handle CONJ_EXPR.
From-SVN: r4938
1993-07-18 20:24:45 +00:00
Richard Stallman
cba389cdf9 (expand_return): When expanding assignment into DECL_RESULT,
ignore the "value"--do it for effect.

From-SVN: r4937
1993-07-18 20:24:23 +00:00
Richard Kenner
d9a98e1a53 (init_function_start): Initialize trampoline_list here.
(expand_function_end): Not here.

From-SVN: r4936
1993-07-18 14:21:41 -04:00
Richard Stallman
366185286a (common_type): Use TYPE_MAIN_VARIANT when preferring
long int to int (when width is the same).

(check_format): With -Wformat, warn about
printf("%ld", 1) even if sizeof (int) == sizeof (long),
since the code isn't portable.  Similarly for "%d" vs 1L.

(convert_arguments) [PROMOTE_PROTOTYPES]:
With -Wconversion, use unpromoted type to check for signedness changes.

From-SVN: r4935
1993-07-18 18:10:11 +00:00
Richard Stallman
edbc355b88 (assemble_variable): Move debugging output calls to after section has been selected.
(assemble_variable): Move debugging output calls
to after section has been selected.  Select the section again
if the debugging output call changes the section.

From-SVN: r4934
1993-07-18 06:07:02 +00:00
Richard Stallman
cadcc1c11c (dbxout_symbol_location): Call in_text_section
to decide whether to use DBX_STATIC_CONST_VAR_CODE.

From-SVN: r4933
1993-07-18 06:06:45 +00:00
Richard Stallman
081be30bbf (synth_module_prologue): Call layout_type for the array
type used for _OBJC_SELECTOR_TABLE.

From-SVN: r4932
1993-07-18 05:29:38 +00:00
Richard Stallman
46dbb914d1 (rest_of_compilation): If function is extern inline,
even if we can't inline it, don't compile it.

From-SVN: r4931
1993-07-17 04:48:10 +00:00
Richard Stallman
82e9f5e9b2 (dwarfout_init): Report failure of getpwd.
From-SVN: r4930
1993-07-17 01:34:14 +00:00
Richard Stallman
42cd476bc3 (LINK_LIBGCC_SPECIAL, SPACE_AFTER_L_OPTION)
(LINK_LIBGCC_SPECIAL, SPACE_AFTER_L_OPTION)
(LIB_SPEC): Move outside of USE_GAS conditional.

From-SVN: r4929
1993-07-17 01:31:25 +00:00
Doug Evans
f3b5834778 if [ "$os" ] --> if [ x"$os" != x"" ]
From-SVN: r4928
1993-07-16 18:24:47 +00:00
Richard Stallman
a3f6caa73f (stdlib.h): Check carefully for definition of size_t.
From-SVN: r4927
1993-07-15 17:05:38 +00:00
Richard Stallman
0c16ddf700 (build_c_cast): When casting to union, if value is array
or function, do default_conversion.

From-SVN: r4926
1993-07-15 05:40:42 +00:00
Richard Stallman
c8ab446488 (reload): Don't free scratch_list or scratch_block if 0.
From-SVN: r4925
1993-07-15 05:14:36 +00:00
Richard Stallman
ea8fbf8a33 (CONCAT): New rtx code.
From-SVN: r4924
1993-07-15 02:21:56 +00:00
Richard Stallman
fc84e8a81c (gen_lowpart_common, gen_highpart): Handle CONCAT.
(operand_subword): Likewise.
(gen_reg_rtx): For complex mode, return a CONCAT of two pseudos.

From-SVN: r4923
1993-07-15 02:20:05 +00:00
Richard Stallman
5998c7dcc3 (expand_decl): Make a CONCAT, for decls of complex type.
From-SVN: r4922
1993-07-15 02:16:57 +00:00
Richard Stallman
477008025c (dbxout_symbol_location): Subroutine broken out from dbxout_symbol.
(dbxout_symbol_location): Subroutine broken out from
dbxout_symbol.  Handle CONCAT here.
(dbxout_symbol_name): New subroutine.  Handle anonymous decls too.
(dbxout_reg_parms): Simplify using dbxout_symbol_location.
Handle CONCAT.

From-SVN: r4921
1993-07-15 02:15:41 +00:00
Richard Stallman
ec4738c0ca Don't discard comment end characters on lines that look like "#endif */".
Don't discard comment end characters on lines that
look like "#endif */".  Fixes Esix 4.0.4 problem.

From-SVN: r4920
1993-07-14 23:23:58 +00:00