Commit Graph

3678 Commits

Author SHA1 Message Date
Jim Wilson 4cf82435af (va_start): If __GCC_NEW_VARARGS__ not defined, use old definition.
From-SVN: r3491
1993-02-18 17:25:28 -08:00
Jim Wilson f19c1a78bd (CPP_PREDEFINES): Add -D__GCC_NEW_VARARGS__.
From-SVN: r3490
1993-02-18 17:24:11 -08:00
Jim Wilson 4cc70cf4bf (end_final): Don't call assemble_zeros with an size argument of zero.
From-SVN: r3489
1993-02-18 17:20:58 -08:00
Jim Wilson e133665800 (expand_call): When MAYBE_REG_PARM_STACK_SPACE defined,
if reg_parm_stack_space is zero, set args_size.constant to zero.

From-SVN: r3488
1993-02-18 17:14:55 -08:00
Richard Stallman 76cf6e120e (yylex): Undo Feb 7 change.
From-SVN: r3487
1993-02-18 23:44:34 +00:00
Richard Stallman ca67f8689b (program): After extdefs, pop any unpopped binding lvls.
From-SVN: r3486
1993-02-18 23:44:20 +00:00
Richard Stallman b1285ef4fa (ABS): #undef after including sys/time.h and sys/resource.h.
From-SVN: r3485
1993-02-18 06:30:00 +00:00
John Hassey 7f8f7371d3 (emit_ldst): For large offsets use register index
instead of immediate.

From-SVN: r3484
1993-02-18 03:05:08 +00:00
Richard Stallman abc1d3f177 (truncdfsf2, extendsfdf2): Changed from define_insn to expand_insn.
Eliminated a jmp pattern and the peephole patterns which are no longer
needed now that deferred addressing is supported.

From-SVN: r3483
1993-02-17 23:33:10 +00:00
Richard Stallman 4de54e922f (CONST_COSTS): Updated to better reflect
the actual constant costs on a we32k.

(GO_IF_LEGITIMATE_ADDRESS): Added support for deferred addressing.

From-SVN: r3482
1993-02-17 23:32:16 +00:00
Richard Stallman cd3383a393 (sys/types.h): Replace definition of size_t based on SIZE_TYPE.
From-SVN: r3481
1993-02-17 23:21:42 +00:00
John Hassey e174b371ef Use 'K' constraint with arith5_operand predicate.
From-SVN: r3480
1993-02-17 15:01:27 +00:00
John Hassey c15d8db66e (CONST_OK_FOR_LETTER_P): Added 'K'.
From-SVN: r3479
1993-02-17 15:00:52 +00:00
Richard Stallman b39555b4d7 (find_reloads_address): Use strict_memory_address_p
to check for valid indirect address.

From-SVN: r3478
1993-02-16 22:13:45 +00:00
Richard Stallman c14f265519 (ASM_OUTPUT_IDENT, IDENT_ASM_OP): Defined.
From-SVN: r3477
1993-02-16 19:35:31 +00:00
Richard Stallman 346b07de06 Include xm-svr3.h. Move tm.h include earlier.
(HOST_BITS_PER_LONGLONG, HOST_WORDS_BIG_ENDIAN): Defined.
(USG, bcopy, bzero, bcmp): Deleted.
(alloca): Definition moved before tm.h.

From-SVN: r3476
1993-02-16 06:49:42 +00:00
Richard Stallman 870cc33b82 (build_indirect_ref): Avoid *& short-cut if -fvolatile.
From-SVN: r3475
1993-02-16 06:29:26 +00:00
Michael Meissner a73f14a3f9 For .S files, pas -traditional to cpp unless -ansi or -traditional.
From-SVN: r3474
1993-02-16 03:21:16 +00:00
Richard Stallman b16f586d98 (HASHFUNCTION): Insure nonnegative hash even if addresses are negative.
From-SVN: r3473
1993-02-15 07:18:09 +00:00
Richard Stallman 8309117694 (warn_missing_braces): Declared.
From-SVN: r3472
1993-02-13 09:19:51 +00:00
Richard Stallman 36e6fa6962 (c_decode_option): Handle -Wmissing-braces.
From-SVN: r3471
1993-02-13 09:19:04 +00:00
Richard Stallman 815a862a12 (process_init_constructor): Test warn_missing_braces.
From-SVN: r3470
1993-02-13 09:17:25 +00:00
Richard Stallman cf6d9b9c00 (build_indirect_ref): If arg is void *, just warn.
From-SVN: r3469
1993-02-13 05:41:28 +00:00
Doug Evans ee791cc341 * make setup_incoming_promotions static
From-SVN: r3468
1993-02-13 00:39:55 +00:00
Per Bothner e670291961 Fix typos in comment.
From-SVN: r3467
1993-02-12 13:03:32 -08:00
Torbjorn Granlund 5203195731 (rotlsi3): Fix typo, rotate was rotatert in rtl template.
From-SVN: r3466
1993-02-12 16:27:41 +00:00
John Hassey 9392c110eb (reposition_prologue_and_epilogue_notes): Allow
for zero length prologue and epilogue list.

From-SVN: r3465
1993-02-12 15:52:54 +00:00
Richard Stallman f3acae4d7c (yylex): For wide char constant, use wchar_type_node.
Swallow any preprocessing number as a (possibly erroneous) number.

From-SVN: r3464
1993-02-12 07:36:00 +00:00
Richard Kenner aee3a549b0 (find_a_file): Always reject "./ld".
(main): Pass short name of program as first arg to fork_execute; ensure
argv[0] always gets filename.
(fork_execute): Print name for diagnostic from PROG; filename comes from
argv[0].

From-SVN: r3463
1993-02-11 14:41:46 -05:00
Richard Kenner a27901721d Don't assume that macros defining IO and CTRL ioctl codes always use
`x'; some use `c' or `g'.

From-SVN: r3462
1993-02-11 13:49:37 -05:00
Richard Kenner 45840c57d7 (putenv): New function, copied from gcc.c.
(last_file_name): New variable.
(find_a_file): Ignore name in last_file_name too.
(main): Look at name in COLLECT_NAME and set it to the name we were called
with.
Pass filename used for ld to ld as argv[0].

From-SVN: r3461
1993-02-11 05:55:22 -05:00
Richard Stallman 9937da1a0c (expand_builtin): Move memory_address calls
out of arglist of emit_block_move.

From-SVN: r3460
1993-02-11 08:56:16 +00:00
Richard Kenner 0f33506ca7 (version_string): Declare.
(current_file_function_operand): New function, replaces
current_function_operand.
(print_operand, case 'F'): Case deleted.
(alpha_builtin_saveregs): Reworked to use homed arglists, as recommended in
the calling standard.
(alpha_need_gp): Deleted, code moved into output_prolog.
(alpha_gp_dead_after): Deleted; optimization is not safe.
(alpha_write_verstamp): New function.
(output_prolog, output_epilog): Major rework to update to current
calling standard.

From-SVN: r3459
1993-02-10 16:13:53 -05:00
Richard Kenner 4ba7b922dd (call insns): Always reload gp after a full call.
Use current_file_function_operand to see when we can use BSR.

From-SVN: r3458
1993-02-10 16:12:51 -05:00
Richard Kenner 130d2d725d (ASM_OUTPUT_LOOP_ALIGN): Enable, now that assembler fixed.
(SLOW_UNALIGNED_ACCESS): Define as 1.
(ARG_POINTER_REGNUM): Use register number 31 as an arg pointer.
(FRAME_GROWS_DOWNWARD): Do not define.
(STARTING_FRAME_OFFSET): Now is outgoing args size.
(FIRST_PARM_OFFSET): Now 0.
(ELIMINABLE_REGS, etc.): Cannot eliminate gp, but do eliminate AP in favor
of either SP or FP.
(RETURN_IN_MEMORY): All structs or integers larger than 64 bits get returned
via memory.
(SETUP_INCOMING_VARARGS): Use homed arglist mechanism.
(ASM_DECLARE_FUNCTION_NAME): Use proper second arg to .ent.
(ASM_FILE_START): Call alpha_write_verstamp.
(ENCODE_SECTION_INFO): Record when a decl is for a function in the current
file.

From-SVN: r3457
1993-02-10 16:12:20 -05:00
John Hassey 63a05e2818 removed m88kbcs, changed delta88 and harris to
use sysv3.

From-SVN: r3456
1993-02-10 17:56:58 +00:00
Richard Stallman 1f7586c124 (duplicate_decls): Silently accept harmless mismatch
in type of 1st arg of builtin function.

From-SVN: r3455
1993-02-10 08:30:25 +00:00
Brendan Kehoe c0ce409ada alpha.md (fix_truncdfdi2, [...]): Use `cvttqc', not `cvttq', to avoid rounding up.
* alpha.md (fix_truncdfdi2, fix_truncsfdi2): Use `cvttqc', not
        `cvttq', to avoid rounding up.

From-SVN: r3454
1993-02-09 22:16:37 -05:00
Richard Stallman ad08247592 entered into RCS
From-SVN: r3453
1993-02-09 23:47:23 +00:00
Richard Stallman edc03e8aa2 Initial revision
From-SVN: r3452
1993-02-09 23:47:17 +00:00
Richard Kenner 7988fd364a (setup_incoming_promotions): New function.
(combine_instructions): Add calls to setup_incoming_promotions.

From-SVN: r3451
1993-02-09 18:45:34 -05:00
Richard Kenner 626043cfc3 Declare promoted_input_arg.
From-SVN: r3450
1993-02-09 18:45:06 -05:00
Richard Kenner 75dc33195a (promoted_input_arg): New function.
From-SVN: r3449
1993-02-09 18:44:25 -05:00
Brendan Kehoe 638fa106c8 fixincludes: Fix logic about when to duplicate entries under the `FILE' link.
* fixincludes: Fix logic about when to duplicate entries under the
        `FILE' link.

From-SVN: r3448
1993-02-09 14:05:03 -05:00
Richard Stallman 5105ecec4c (main): Fix lineno of "does not end in newline" message.
(finclude): Likewise.

From-SVN: r3447
1993-02-09 18:50:33 +00:00
Michael Meissner b5e9dd0342 Fix integer overflows
From-SVN: r3446
1993-02-09 17:06:09 +00:00
Richard Kenner ac889e46a9 Undefine ABS; some POSIX systems define it as 1.
From-SVN: r3445
1993-02-09 05:46:08 -05:00
Richard Kenner d79f08e0b8 (combine_instructions): When calling set_nonzero_bits_and_sign_copies,
set things up so that we can call get_last value; call
record_dead_and_set_regs in loop.
(set_nonzero_bits_and_sign_copies): Handle paradoxical SET.

From-SVN: r3444
1993-02-09 05:45:36 -05:00
Richard Stallman b6542989bc (size_in_bytes): Add 2nd arg to force_fit_type.
From-SVN: r3443
1993-02-09 06:13:46 +00:00
John Hassey f2dabd38de (compile_file): Don't flag global register variables as unused.
From-SVN: r3442
1993-02-08 15:17:53 +00:00