Richard Stallman
e365422628
(gen_move_insn): Use emit_move_insn_1.
...
From-SVN: r3506
1993-02-21 06:51:56 +00:00
Richard Stallman
261c4230db
(emit_move_insn_1): New subroutine cut from emit_move_insn.
...
(emit_move_insn): Use that.
From-SVN: r3505
1993-02-21 06:51:34 +00:00
Doug Evans
3f908f128e
* Add declaration for pedwarn_with_line.
...
From-SVN: r3504
1993-02-21 01:33:25 +00:00
Richard Stallman
8befb9549a
(SRCDIR): Make absolute from ORIGDIR.
...
(sys/types.h): Quote variables that might expand with spaces.
Strip quotes from expansion of SIZE_TYPE.
Also fix incorrect installation of previous patch.
From-SVN: r3503
1993-02-21 00:14:46 +00:00
Richard Stallman
27a5574b53
(warning_with_line, pedwarn_with_line): New functions.
...
(rescan): For pedantic, no error if string constant has newline,
just a pedwarn. And don't end the string constant there.
From-SVN: r3502
1993-02-20 23:49:57 +00:00
Doug Evans
5709eb48d8
(decode_field_reference): Use force_fit_type instead of convert to avoid truncated integer warning.
...
* (decode_field_reference): Use force_fit_type instead of convert to avoid
truncated integer warning.
From-SVN: r3501
1993-02-20 22:24:44 +00:00
John Hassey
9f8b265dd5
Change "va_list)" to "__gnuc_va_list)".
...
From-SVN: r3500
1993-02-20 15:39:27 +00:00
Doug Evans
631e21eb7b
* Save temp file in ${LIB}. Use -I${ORIGDIR} when compiling types.c.
...
From-SVN: r3499
1993-02-20 08:17:28 +00:00
Richard Stallman
49b6e255d9
(BISONFLAGS): Add -v.
...
(stmp-fixinc): Renamed from stmp-fixincludes.
From-SVN: r3498
1993-02-20 06:30:20 +00:00
Richard Stallman
b0b7b46ac2
(regno_uninitialized): Test global_regs only for hard regs.
...
From-SVN: r3497
1993-02-19 19:09:39 +00:00
Richard Stallman
4c42625bf5
(convert_to_integer): Warn if integer is truncated and that changes the value.
...
From-SVN: r3496
1993-02-19 05:46:22 +00:00
Jim Wilson
3c15ff863f
Include aix386ng.h instead of duplicating it.
...
From-SVN: r3495
1993-02-18 17:41:31 -08:00
Jim Wilson
96b327f4f6
(ASM_OUTPUT_CASE_END): Add missing semicolon.
...
From-SVN: r3494
1993-02-18 17:30:41 -08:00
Jim Wilson
0fdcc87d32
(output_function_prologue): Don't save %f31 to stack.
...
From-SVN: r3493
1993-02-18 17:27:58 -08:00
Jim Wilson
1fe4456801
(STARTING_FRAME_OFFSET): Set to -8.
...
From-SVN: r3492
1993-02-18 17:26:56 -08:00
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