Commit Graph

9404 Commits

Author SHA1 Message Date
Torbjorn Granlund
87c7361897 (call_internal_reg): Fix typos in length calculation.
(call_value_internal_reg): Likewise.

From-SVN: r9432
1995-04-21 23:39:23 +00:00
Roland McGrath
635b02bf02 (STANDARD_INCLUDE_DIR): New macro.
From-SVN: r9431
1995-04-21 17:18:23 +00:00
Roland McGrath
a825be5a91 (STANDARD_INCLUDE_DIR): Macro moved to generic gnu.h.
From-SVN: r9430
1995-04-21 17:17:09 +00:00
Richard Kenner
ba78c9ff87 (default_compilers): Pass -I to gnat1.
From-SVN: r9429
1995-04-21 08:23:45 -04:00
Richard Kenner
c5993d837c (lang_options): Add -I for GNAT.
From-SVN: r9428
1995-04-21 08:22:39 -04:00
Richard Kenner
8980b5a34d (integer_all_onesp): Test to size of mode, not TYPE_PRECISION.
From-SVN: r9427
1995-04-21 08:11:06 -04:00
Richard Kenner
4ac8e06eb1 (main): Turn on -fforce-mem for -O2.
From-SVN: r9426
1995-04-21 08:08:07 -04:00
Richard Kenner
4d39710e8e ([lr]rotate_double): Replace; old versions were bogus.
(fold, shift and rotate): Don't call tree_int_cst_sgn on non-integer.
(fold, case LROTATE_EXPR): If constant count, convert to RROTATE_EXPR.
(fold, case RROTATE_EXPR): Sometimes commute logical op with rotate.
Delete pair of counteracting shifts.

From-SVN: r9425
1995-04-21 08:03:23 -04:00
Richard Kenner
0e32506c6b (simplify_logical, case AND): If still an AND, get new values for op0
and op1.

From-SVN: r9424
1995-04-21 07:57:42 -04:00
Jim Wilson
8aa2a30584 Completely rewritten.
From-SVN: r9423
1995-04-20 18:19:27 -07:00
Jim Wilson
058f9bb586 (FAST_BIT, CONSTLEN_2_BIT, CONSTLEN_3_BIT, CONSTLEN_0_BIT,
TARGET_FASTCODE, TARGET_CLEN3, TARGET_CLEN0, TARGET_OPTIONS): Delete.
(TARGET_SWITCHES): Delete -mclen3 and -mclen0 options.
(TARGET_DEFAULT): Is zero.
(OVERRIDE_OPTIONS): Delete code to set max_count_si and max_count_hi.
(SPECIAL_REG): New macro.
(HARD_REGNO_MODE_OK): Allow any mode in any general register.
(GO_IF_LEGITIMATE_ADDRESS): Delete constant + reg address case.
(MOVE_RATIO): Define to 2 when TARGET_SMALLCODE.
(max_si, max_hi, max_count_si, max_count_hi): Delete.

From-SVN: r9422
1995-04-20 18:19:03 -07:00
Jim Wilson
51aea58dad Delete spurious constraints from all define_expands.
(rotlsi3_1): Set T reg instead of clobbering it.
(ashrsi3): Use expand_ashiftrt instead of gen_shifty_op.
(movsi_i, movhi_i, movsf_i): Add conditions to reject patterns
needing a reload.
(movdi-2, movdf_k): Correct conditions to reject patterns needing
a reload.
([inverse_]branch_{true,false}): Pass operands to output_branch.
(jump): Delete unnecessary braces.
(call, call_value): Don't use expand_acall.  Force operand0 into
a register.

From-SVN: r9421
1995-04-20 18:18:26 -07:00
Jason Merrill
657bb6dc84 Use TREE_ADDRESSABLE rather than | TYPE_NEEDS_CONSTRUCTING to decide whether a...
Use TREE_ADDRESSABLE rather than
|        TYPE_NEEDS_CONSTRUCTING to decide whether a parameter needs to be
|        passed by invisible reference.

From-SVN: r9420
1995-04-20 22:26:30 +00:00
Torbjorn Granlund
a01408abbe (TARGET_SWITCHES): Fix typo.
From-SVN: r9419
1995-04-19 21:49:24 +00:00
Mike Stump
43f2999d1d 66th Cygnus<->FSF merge
From-SVN: r9418
1995-04-19 17:08:54 +00:00
Per Bothner
8a0e8d4dc4 (get_set_constructor_bytes): Fix BITS_BIG_ENDIAN -> BYTES_BIG_ENDIAN.
From-SVN: r9417
1995-04-18 18:09:38 -07:00
Per Bothner
b09f334842 (store_constructor): Fix BITS_BIG_ENDIAN -> BYTES_BIG_ENDIAN for SET_TYPE.
From-SVN: r9416
1995-04-18 18:07:59 -07:00
Per Bothner
b2b6cc0a55 (FIXPROTO_DEFINES): Define _HPUX_SOURCE so putenv gets seen.
From-SVN: r9415
1995-04-18 17:23:29 -07:00
Michael Meissner
7198acbe9b Always define handle_pragma_weak, but don't do anything unless
HANDLE_PRAGMA_WEAK is defined.

From-SVN: r9414
1995-04-18 20:51:03 +00:00
Michael Meissner
d924d023c7 Do not put enclose within HANDLE_SYSV_PRAGMA
From-SVN: r9413
1995-04-18 20:06:17 +00:00
Mike Stump
44a8d0b357 65th Cygnus<->FSF merge
From-SVN: r9412
1995-04-18 19:23:38 +00:00
Michael Meissner
7b83cfef6d Do not give an error for __attribute__((weak)) on systems that do not support it.
From-SVN: r9411
1995-04-18 18:59:29 +00:00
Michael Meissner
3d6f7931f9 Move pragma interface support to c-pragma.h
From-SVN: r9410
1995-04-18 18:16:51 +00:00
Michael Meissner
dce58868d9 Initial revision
From-SVN: r9409
1995-04-18 18:10:45 +00:00
Michael Meissner
3b7f6cca35 Do not generate mem->mem SF moves if -msoft-float
From-SVN: r9408
1995-04-18 18:08:17 +00:00
Michael Meissner
eb0430f02e Make weak symbols work again.
From-SVN: r9407
1995-04-18 10:56:20 +00:00
Richard Kenner
a07a2d17c5 (size_int): Arg is unsigned HOST_WIDE_INT.
From-SVN: r9406
1995-04-18 06:19:35 -04:00
Richard Kenner
f42c0c38fb (size_int): Likewise.
From-SVN: r9405
1995-04-18 06:19:10 -04:00
Jason Merrill
2dccb50ab9 ASM_OUTPUT_EXTERNAL revisited
From-SVN: r9404
1995-04-18 06:35:02 +00:00
Per Bothner
b13b05f6ab cpplib.c: Rename make_definition to cpp_define.
* cpplib.c:  Rename  make_definition to cpp_define.
* cpplib.c (special_symbol):  For T_SPECLINE, calculate __LINE__
in enclosing file buffer, not current buffer (if macro expanding).
(cpp_get_token):  Fix thinko (in code for chopping unneeded space).

From-SVN: r9403
1995-04-17 16:43:46 -07:00
Per Bothner
8229b92217 * cpplib.h (cpp_define): New declaration.
From-SVN: r9402
1995-04-17 16:43:30 -07:00
Per Bothner
a471bbffa4 * config/mips/x-iris6 (FIXPROTO_DEFINES): Add -D_LANGUAGE_C_PLUS_PLUS.
From-SVN: r9401
1995-04-17 16:30:56 -07:00
Per Bothner
c9e5aa3180 * config/mips/x-iris (FIXPROTO_DEFINES): Add -D_LANGUAGE_C_PLUS_PLUS.
From-SVN: r9400
1995-04-17 16:30:38 -07:00
Jim Wilson
c4ae4e1116 (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Define.
From-SVN: r9399
1995-04-17 14:06:01 -07:00
Jim Wilson
c009da4ff8 (CPP_SPECS): Define and use _ABI64 instead of _MIPS_SIM_ABI64.
(CPP_SPECS): Define and use _ABI64 instead of
_MIPS_SIM_ABI64.
(SETUP_INCOMING_VARARGS): Set MEM_IN_STRUCT_P if big endian target.

From-SVN: r9398
1995-04-17 14:05:40 -07:00
Jim Wilson
e340018d59 (get_last_value): Ignore BARRIER when scanning backwards.
(move_deaths): New variables before_dead and after_dead.  Set them
to instructions that have valid INSN_CUID values and use in test.

From-SVN: r9397
1995-04-17 13:55:26 -07:00
Jim Wilson
0d9641d106 (subst_prev_insn): New variable.
(try_combine): Set it.
(get_last_value): Use it.

From-SVN: r9396
1995-04-17 13:49:59 -07:00
Jim Wilson
4ffeab028f (find_reloads): Recompute reg_equiv_address from reg_equiv_memory_loc before using it.
(find_reloads): Recompute reg_equiv_address from
reg_equiv_memory_loc before using it.
(find_reloads_toplev, make_memloc): Likewise.

From-SVN: r9395
1995-04-17 12:46:50 -07:00
Jim Wilson
79c0672ee6 (instantiate_decls): Use temporary allocation if
DECL_DEFER_OUTPUT is set.

From-SVN: r9394
1995-04-17 12:23:52 -07:00
Jim Wilson
85c53d245a (expand_builtin, case BUILT_IN_MEMCPY): Call force_operand
on dest_rtx before returning it.

From-SVN: r9393
1995-04-17 12:19:48 -07:00
Jason Merrill
545bcf37d1 weaken C++ free-store functions
From-SVN: r9392
1995-04-16 06:17:34 +00:00
Jason Merrill
4b8af8d984 attributes weak and alias
From-SVN: r9391
1995-04-16 06:14:00 +00:00
Richard Kenner
822e3422fb (expand_call): Call preserve_temp_slots on temps made for BLKmode args
returned in registers.

From-SVN: r9390
1995-04-15 13:52:45 -04:00
Richard Kenner
fd84ddafb0 (override_options): Fix typo.
From-SVN: r9389
1995-04-15 13:26:23 -04:00
Brendan Kehoe
d108518002 alpha.c (output_epilog): Initialize fp_offset to 0, and
* alpha/alpha.c (output_epilog): Initialize fp_offset to 0, and

        make sure it's non-zero before we try to use it to restore the

        frame pointer.

From-SVN: r9388
1995-04-15 12:12:24 -04:00
Jason Merrill
7644b152a6 Reorganize va_arg
From-SVN: r9387
1995-04-14 23:44:01 +00:00
Roland McGrath
fa42ea0227 (ASM_OUTPUT_SECTION_NAME): Make the section read-only executable "ax" if DECL is a FUNCTION_DECL...
(ASM_OUTPUT_SECTION_NAME): Make the section read-only executable "ax"
if DECL is a FUNCTION_DECL; read-only "a" (previously the case always)
if DECL is TREE_READONLY; otherwise writable "aw".

From-SVN: r9386
1995-04-14 23:31:05 +00:00
Richard Kenner
ea8e4ec574 (output_prolog): Changed stack probe at function entry.
From-SVN: r9385
1995-04-14 18:49:07 -04:00
Richard Kenner
13aa593cd6 (probe_stack): Probe with write, not read.
(allocate_stack): Update and correct stack probe code.

From-SVN: r9384
1995-04-14 18:48:49 -04:00
Richard Kenner
4134d7fcf0 (delete_insn): When deleting after label, delete a BARRIER as well.
From-SVN: r9383
1995-04-14 18:42:15 -04:00