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
James Van Artsdalen
74c475adae
(extendsidi2): Use correct mnemonic for cwtl opcode.
...
From-SVN: r3441
1993-02-08 14:09:00 +00:00
Richard Kenner
4ab561180c
Allow passing nonaligned BLKmode structs in regs.
...
(struct arg_data): New fields aligned_regs and n_aligned_regs.
(expand_call): Set and use these fields when required.
(store_one_arg): Don't pass reg to emit_push_insn if we have previously
formed aligned registers.
From-SVN: r3440
1993-02-08 05:51:58 -05:00
Richard Kenner
cd04883188
(emit_push_insn): If REG is zero, don't set regs here.
...
From-SVN: r3439
1993-02-08 05:49:27 -05:00
Richard Kenner
e7cf2d7e55
(MUST_PASS_IN_STACK_BAD_ALIGN): Deleted.
...
(MUST_PASS_IN_STACK): No problem anymore with nonaligned structs.
From-SVN: r3438
1993-02-08 05:49:05 -05:00
Richard Stallman
522ae84c3d
(emit_store_flag): Add missing arg to convert_move.
...
From-SVN: r3437
1993-02-08 04:34:45 +00:00
Richard Kenner
1efe644834
(struct arg_data): New field MODE.
...
(expand_call, store_one_arg): Use it to ensure that all args get
promoted if requested, not just those passed in registers.
From-SVN: r3436
1993-02-07 16:12:57 -05:00
Richard Stallman
2e90c25ade
(yylex): At eof, if binding levels not popped,
...
imagine some close-braces to pop them.
From-SVN: r3435
1993-02-07 18:15:41 +00:00
Richard Stallman
ef2bf0c061
(fold): Call force_fit_type with two parameters.
...
(force_fit_type): Don't examine the tree until
it is known to an INTEGER_CST. If it isn't, just return.
From-SVN: r3434
1993-02-07 17:24:37 +00:00
Richard Stallman
3ceb5ed36c
(movqi): For special case of moving byte to stack, push into low byte and then copy to high byte.
...
(movqi): For special case of moving byte
to stack, push into low byte and then copy to high byte.
For case of moving to/from address reg, exchange it with d0.
From-SVN: r3433
1993-02-07 01:24:09 +00:00
Richard Stallman
6a5bbbe6b8
(expand_expr_stmt): Bypass fetching a volatile value if it is VOIDmode.
...
From-SVN: r3432
1993-02-06 01:02:25 +00:00
Jim Wilson
266f95411b
Initial revision
...
From-SVN: r3431
1993-02-05 15:50:44 -08:00
Jim Wilson
d68398271c
(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
...
From-SVN: r3430
1993-02-05 15:42:43 -08:00
Jim Wilson
5868ca2010
(__do_global_ctors_aux): Use FORCE_INIT_SECTION_ALIGN
...
to avoid Solaris 2, x86 linker bug.
From-SVN: r3429
1993-02-05 15:41:52 -08:00
Jim Wilson
9ad2c69271
(EXTRA_CONSTAINTS): Delete 'R' support.
...
(CONST_OK_FOR_LETTER_P): Correct 'K' comment.
From-SVN: r3428
1993-02-05 15:37:09 -08:00
Jim Wilson
193013107a
(CEIL): Delete.
...
(restore_referenced_regs): New var NUMREGS. Pass NUMREGS to
insert_save_restore instead of using using CEIL.
From-SVN: r3427
1993-02-05 15:35:32 -08:00
Jim Wilson
0b298be417
(true_dependence, anti_dependence, output_dependence):
...
Assume that MEM_IN_STRUCT_P QImode varying addresses can overlap a
non-MEM_IN_STRUCT_P fixed address.
From-SVN: r3426
1993-02-05 15:33:36 -08:00
Jim Wilson
0a56ad627e
(legitimate_address_p): Accept either REG or SUBREG where
...
a register is valid in an address.
From-SVN: r3425
1993-02-05 15:31:30 -08:00
Jim Wilson
2e4f452909
(finclude): Error if try to include a directory.
...
(S_ISDIR): Add a default definition.
From-SVN: r3424
1993-02-05 15:26:54 -08:00
Richard Stallman
53b01f59f9
(build_c_cast): Bypass default_conversion when casting to void.
...
From-SVN: r3423
1993-02-05 23:00:46 +00:00
Richard Stallman
ed3eea740a
Add some prototypes.
...
From-SVN: r3422
1993-02-05 22:56:37 +00:00
Brendan Kehoe
9350744414
* toplev.c (lang_options): Remove `-fSOS' and `-fno-SOS'.
...
From-SVN: r3421
1993-02-05 13:33:46 -05:00
Richard Stallman
4e7c9a2248
(emit_library_call, emit_library_call_value):
...
Handle STACK_BOUNDARY when using push insns.
From-SVN: r3420
1993-02-03 23:26:51 +00:00
Richard Stallman
f79322f009
(init_objc): Use xrealoc, not realloc.
...
From-SVN: r3419
1993-02-03 23:23:22 +00:00
Richard Stallman
b82a0ad986
Fix typos.
...
From-SVN: r3418
1993-02-03 01:48:09 +00:00
Richard Stallman
41fe4d9e58
(assemble_zeros): Output nothing rather than empty skip.
...
From-SVN: r3417
1993-02-03 00:16:18 +00:00
Richard Stallman
a4d8855c2a
Comment fixes.
...
From-SVN: r3416
1993-02-02 23:38:03 +00:00