Richard Stallman [Fri, 26 Feb 1993 03:50:10 +0000 (03:50 +0000)]
(jump_optimize): Add missing parameter in expand_binop call.
From-SVN: r3537
Richard Stallman [Fri, 26 Feb 1993 03:49:17 +0000 (03:49 +0000)]
Add prototypes for most functions declared here.
From-SVN: r3536
Richard Kenner [Thu, 25 Feb 1993 23:36:23 +0000 (18:36 -0500)]
No need to #undef ABS; done in rtl.h.
From-SVN: r3535
Richard Kenner [Thu, 25 Feb 1993 23:29:31 +0000 (18:29 -0500)]
(redundant_insn_p): Fix typo in testing for types of insns by using
GET_RTX_CLASS.
From-SVN: r3534
Richard Kenner [Thu, 25 Feb 1993 22:52:02 +0000 (17:52 -0500)]
(emit_store_flag): Fix typo in testing BRANCH_COST.
From-SVN: r3533
Jim Wilson [Thu, 25 Feb 1993 19:38:30 +0000 (11:38 -0800)]
(set_nonzero_bits_and_sign_copies): Fix typo in paradoxical set dest handling.
From-SVN: r3532
Jim Wilson [Thu, 25 Feb 1993 19:34:16 +0000 (11:34 -0800)]
(convert_to_integer): Delete Feb 19 change.
From-SVN: r3531
Jim Wilson [Thu, 25 Feb 1993 19:31:18 +0000 (11:31 -0800)]
(decode_field_reference): Fix force_fit_type call.
From-SVN: r3530
Ian Lance Taylor [Thu, 25 Feb 1993 15:39:05 +0000 (15:39 +0000)]
Use pwd if PWDCMD is not defined
From-SVN: r3529
Richard Stallman [Thu, 25 Feb 1993 06:20:24 +0000 (06:20 +0000)]
(emit_library_call_value): Fix bug in prev change.
From-SVN: r3528
Richard Stallman [Thu, 25 Feb 1993 00:25:44 +0000 (00:25 +0000)]
(vms_check_external): New function.
From-SVN: r3527
Richard Stallman [Thu, 25 Feb 1993 00:25:31 +0000 (00:25 +0000)]
(ASM_OUTPUT_EXTERNAL): Use vms_check_external.
(ASM_GLOBALIZE_LABEL): New definition; use vms_check_external.
From-SVN: r3526
Richard Stallman [Wed, 24 Feb 1993 23:28:29 +0000 (23:28 +0000)]
(NO_SYS_SIGLIST): Defined.
From-SVN: r3525
Jim Wilson [Wed, 24 Feb 1993 21:12:11 +0000 (13:12 -0800)]
(consec_sets_invariant_p): Correct REG_EQUAL note checks
to distinguish libcall case from ordinary insn case.
From-SVN: r3524
Jim Wilson [Wed, 24 Feb 1993 21:08:55 +0000 (13:08 -0800)]
(add_label_notes): Don't add notes for references to dispatch tables because jump doesn't.
(add_label_notes): Don't add notes for references to
dispatch tables because jump doesn't.
(find_and_verify_loops): Invalidate loops that contain labels
whose address has been taken.
From-SVN: r3523
Jim Wilson [Wed, 24 Feb 1993 21:06:04 +0000 (13:06 -0800)]
(string.h): Delete 'g' from sed command.
From-SVN: r3522
Jim Wilson [Wed, 24 Feb 1993 21:04:23 +0000 (13:04 -0800)]
(zero_extendqi*i2): Delete never matched constraints.
From-SVN: r3521
Jim Wilson [Wed, 24 Feb 1993 21:01:21 +0000 (13:01 -0800)]
(umulsidi3+1): Delete extra parenthesis.
From-SVN: r3520
Richard Stallman [Wed, 24 Feb 1993 06:43:37 +0000 (06:43 +0000)]
(all_ones_mask_p): Really use tmask.
(all_ones_mask_p): Declare tmask to be `tree'.
(optimize_bit_field_compare) Add missing semicolon.
(decode_field_reference): Use force_fit_type
instead of convert to avoid truncated integer warning.
(all_ones_mask_p): Likewise.
From-SVN: r3519
Ian Lance Taylor [Tue, 23 Feb 1993 23:09:10 +0000 (23:09 +0000)]
Use relative paths in symbolic links in installed include directory
From-SVN: r3518
Richard Stallman [Tue, 23 Feb 1993 23:03:09 +0000 (23:03 +0000)]
(install-include-dir): Depend on install-dir.
From-SVN: r3517
Richard Stallman [Tue, 23 Feb 1993 23:01:38 +0000 (23:01 +0000)]
(check_for_full_enumeration_handling): Handle nameless type.
From-SVN: r3516
Richard Stallman [Tue, 23 Feb 1993 19:55:23 +0000 (19:55 +0000)]
(CONSTRUCTOR_NAME_FORMAT): Handle NO_DOT_IN_LABEL.
From-SVN: r3515
Richard Stallman [Tue, 23 Feb 1993 19:46:08 +0000 (19:46 +0000)]
(NO_DOLLAR_IN_LABEL, NO_DOT_IN_LABEL): Defined.
From-SVN: r3514
John Hassey [Tue, 23 Feb 1993 02:10:03 +0000 (02:10 +0000)]
(output_call): Don't use the delay slot of a bsr.n
to modify the return address, unless -O2 specified.
From-SVN: r3513
Richard Stallman [Mon, 22 Feb 1993 05:25:58 +0000 (05:25 +0000)]
(convert_to_integer): #if 0 the truncated integer warning.
From-SVN: r3512
Richard Stallman [Mon, 22 Feb 1993 01:23:03 +0000 (01:23 +0000)]
(emit_library_call_value): Really pass mem value address
to the library function.
From-SVN: r3511
Jeff Law [Sun, 21 Feb 1993 18:10:37 +0000 (11:10 -0700)]
* pa.md (load high pattern): Rework constraints to reduce %r1 spillage.
From-SVN: r3510
Jeff Law [Sun, 21 Feb 1993 18:08:55 +0000 (11:08 -0700)]
pa.md (const_double -> FP pattern): Remove cases which can neve happen anymore.
* pa.md (const_double -> FP pattern): Remove cases which can neve
happen anymore.
From-SVN: r3509
Jeff Law [Sun, 21 Feb 1993 18:04:36 +0000 (11:04 -0700)]
pa.c (print_operand, case 'Y'): Output comparison operators which right result when...
* pa.c (print_operand, case 'Y'): Output comparison operators which
right result when one or more of the operands is a NaN.
From-SVN: r3508
Richard Stallman [Sun, 21 Feb 1993 06:52:14 +0000 (06:52 +0000)]
(emit_move_insn_1): Declared.
From-SVN: r3507
Richard Stallman [Sun, 21 Feb 1993 06:51:56 +0000 (06:51 +0000)]
(gen_move_insn): Use emit_move_insn_1.
From-SVN: r3506
Richard Stallman [Sun, 21 Feb 1993 06:51:34 +0000 (06:51 +0000)]
(emit_move_insn_1): New subroutine cut from emit_move_insn.
(emit_move_insn): Use that.
From-SVN: r3505
Doug Evans [Sun, 21 Feb 1993 01:33:25 +0000 (01:33 +0000)]
* Add declaration for pedwarn_with_line.
From-SVN: r3504
Richard Stallman [Sun, 21 Feb 1993 00:14:46 +0000 (00:14 +0000)]
(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
Richard Stallman [Sat, 20 Feb 1993 23:49:57 +0000 (23:49 +0000)]
(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
Doug Evans [Sat, 20 Feb 1993 22:24:44 +0000 (22:24 +0000)]
(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
John Hassey [Sat, 20 Feb 1993 15:39:27 +0000 (15:39 +0000)]
Change "va_list)" to "__gnuc_va_list)".
From-SVN: r3500
Doug Evans [Sat, 20 Feb 1993 08:17:28 +0000 (08:17 +0000)]
* Save temp file in ${LIB}. Use -I${ORIGDIR} when compiling types.c.
From-SVN: r3499
Richard Stallman [Sat, 20 Feb 1993 06:30:20 +0000 (06:30 +0000)]
(BISONFLAGS): Add -v.
(stmp-fixinc): Renamed from stmp-fixincludes.
From-SVN: r3498
Richard Stallman [Fri, 19 Feb 1993 19:09:39 +0000 (19:09 +0000)]
(regno_uninitialized): Test global_regs only for hard regs.
From-SVN: r3497
Richard Stallman [Fri, 19 Feb 1993 05:46:22 +0000 (05:46 +0000)]
(convert_to_integer): Warn if integer is truncated and that changes the value.
From-SVN: r3496
Jim Wilson [Fri, 19 Feb 1993 01:41:31 +0000 (17:41 -0800)]
Include aix386ng.h instead of duplicating it.
From-SVN: r3495
Jim Wilson [Fri, 19 Feb 1993 01:30:41 +0000 (17:30 -0800)]
(ASM_OUTPUT_CASE_END): Add missing semicolon.
From-SVN: r3494
Jim Wilson [Fri, 19 Feb 1993 01:27:58 +0000 (17:27 -0800)]
(output_function_prologue): Don't save %f31 to stack.
From-SVN: r3493
Jim Wilson [Fri, 19 Feb 1993 01:26:56 +0000 (17:26 -0800)]
(STARTING_FRAME_OFFSET): Set to -8.
From-SVN: r3492
Jim Wilson [Fri, 19 Feb 1993 01:25:28 +0000 (17:25 -0800)]
(va_start): If __GCC_NEW_VARARGS__ not defined, use old definition.
From-SVN: r3491
Jim Wilson [Fri, 19 Feb 1993 01:24:11 +0000 (17:24 -0800)]
(CPP_PREDEFINES): Add -D__GCC_NEW_VARARGS__.
From-SVN: r3490
Jim Wilson [Fri, 19 Feb 1993 01:20:58 +0000 (17:20 -0800)]
(end_final): Don't call assemble_zeros with an size argument of zero.
From-SVN: r3489
Jim Wilson [Fri, 19 Feb 1993 01:14:55 +0000 (17:14 -0800)]
(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
Richard Stallman [Thu, 18 Feb 1993 23:44:34 +0000 (23:44 +0000)]
(yylex): Undo Feb 7 change.
From-SVN: r3487
Richard Stallman [Thu, 18 Feb 1993 23:44:20 +0000 (23:44 +0000)]
(program): After extdefs, pop any unpopped binding lvls.
From-SVN: r3486
Richard Stallman [Thu, 18 Feb 1993 06:30:00 +0000 (06:30 +0000)]
(ABS): #undef after including sys/time.h and sys/resource.h.
From-SVN: r3485
John Hassey [Thu, 18 Feb 1993 03:05:08 +0000 (03:05 +0000)]
(emit_ldst): For large offsets use register index
instead of immediate.
From-SVN: r3484
Richard Stallman [Wed, 17 Feb 1993 23:33:10 +0000 (23:33 +0000)]
(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
Richard Stallman [Wed, 17 Feb 1993 23:32:16 +0000 (23:32 +0000)]
(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
Richard Stallman [Wed, 17 Feb 1993 23:21:42 +0000 (23:21 +0000)]
(sys/types.h): Replace definition of size_t based on SIZE_TYPE.
From-SVN: r3481
John Hassey [Wed, 17 Feb 1993 15:01:27 +0000 (15:01 +0000)]
Use 'K' constraint with arith5_operand predicate.
From-SVN: r3480
John Hassey [Wed, 17 Feb 1993 15:00:52 +0000 (15:00 +0000)]
(CONST_OK_FOR_LETTER_P): Added 'K'.
From-SVN: r3479
Richard Stallman [Tue, 16 Feb 1993 22:13:45 +0000 (22:13 +0000)]
(find_reloads_address): Use strict_memory_address_p
to check for valid indirect address.
From-SVN: r3478
Richard Stallman [Tue, 16 Feb 1993 19:35:31 +0000 (19:35 +0000)]
(ASM_OUTPUT_IDENT, IDENT_ASM_OP): Defined.
From-SVN: r3477
Richard Stallman [Tue, 16 Feb 1993 06:49:42 +0000 (06:49 +0000)]
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
Richard Stallman [Tue, 16 Feb 1993 06:29:26 +0000 (06:29 +0000)]
(build_indirect_ref): Avoid *& short-cut if -fvolatile.
From-SVN: r3475
Michael Meissner [Tue, 16 Feb 1993 03:21:16 +0000 (03:21 +0000)]
For .S files, pas -traditional to cpp unless -ansi or -traditional.
From-SVN: r3474
Richard Stallman [Mon, 15 Feb 1993 07:18:09 +0000 (07:18 +0000)]
(HASHFUNCTION): Insure nonnegative hash even if addresses are negative.
From-SVN: r3473
Richard Stallman [Sat, 13 Feb 1993 09:19:51 +0000 (09:19 +0000)]
(warn_missing_braces): Declared.
From-SVN: r3472
Richard Stallman [Sat, 13 Feb 1993 09:19:04 +0000 (09:19 +0000)]
(c_decode_option): Handle -Wmissing-braces.
From-SVN: r3471
Richard Stallman [Sat, 13 Feb 1993 09:17:25 +0000 (09:17 +0000)]
(process_init_constructor): Test warn_missing_braces.
From-SVN: r3470
Richard Stallman [Sat, 13 Feb 1993 05:41:28 +0000 (05:41 +0000)]
(build_indirect_ref): If arg is void *, just warn.
From-SVN: r3469
Doug Evans [Sat, 13 Feb 1993 00:39:55 +0000 (00:39 +0000)]
* make setup_incoming_promotions static
From-SVN: r3468
Per Bothner [Fri, 12 Feb 1993 21:03:32 +0000 (13:03 -0800)]
Fix typos in comment.
From-SVN: r3467
Torbjorn Granlund [Fri, 12 Feb 1993 16:27:41 +0000 (16:27 +0000)]
(rotlsi3): Fix typo, rotate was rotatert in rtl template.
From-SVN: r3466
John Hassey [Fri, 12 Feb 1993 15:52:54 +0000 (15:52 +0000)]
(reposition_prologue_and_epilogue_notes): Allow
for zero length prologue and epilogue list.
From-SVN: r3465
Richard Stallman [Fri, 12 Feb 1993 07:36:00 +0000 (07:36 +0000)]
(yylex): For wide char constant, use wchar_type_node.
Swallow any preprocessing number as a (possibly erroneous) number.
From-SVN: r3464
Richard Kenner [Thu, 11 Feb 1993 19:41:46 +0000 (14:41 -0500)]
(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
Richard Kenner [Thu, 11 Feb 1993 18:49:37 +0000 (13:49 -0500)]
Don't assume that macros defining IO and CTRL ioctl codes always use
`x'; some use `c' or `g'.
From-SVN: r3462
Richard Kenner [Thu, 11 Feb 1993 10:55:22 +0000 (05:55 -0500)]
(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
Richard Stallman [Thu, 11 Feb 1993 08:56:16 +0000 (08:56 +0000)]
(expand_builtin): Move memory_address calls
out of arglist of emit_block_move.
From-SVN: r3460
Richard Kenner [Wed, 10 Feb 1993 21:13:53 +0000 (16:13 -0500)]
(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
Richard Kenner [Wed, 10 Feb 1993 21:12:51 +0000 (16:12 -0500)]
(call insns): Always reload gp after a full call.
Use current_file_function_operand to see when we can use BSR.
From-SVN: r3458
Richard Kenner [Wed, 10 Feb 1993 21:12:20 +0000 (16:12 -0500)]
(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
John Hassey [Wed, 10 Feb 1993 17:56:58 +0000 (17:56 +0000)]
removed m88kbcs, changed delta88 and harris to
use sysv3.
From-SVN: r3456
Richard Stallman [Wed, 10 Feb 1993 08:30:25 +0000 (08:30 +0000)]
(duplicate_decls): Silently accept harmless mismatch
in type of 1st arg of builtin function.
From-SVN: r3455
Brendan Kehoe [Wed, 10 Feb 1993 03:16:37 +0000 (22:16 -0500)]
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
Richard Stallman [Tue, 9 Feb 1993 23:47:23 +0000 (23:47 +0000)]
entered into RCS
From-SVN: r3453
Richard Stallman [Tue, 9 Feb 1993 23:47:17 +0000 (23:47 +0000)]
Initial revision
From-SVN: r3452
Richard Kenner [Tue, 9 Feb 1993 23:45:34 +0000 (18:45 -0500)]
(setup_incoming_promotions): New function.
(combine_instructions): Add calls to setup_incoming_promotions.
From-SVN: r3451
Richard Kenner [Tue, 9 Feb 1993 23:45:06 +0000 (18:45 -0500)]
Declare promoted_input_arg.
From-SVN: r3450
Richard Kenner [Tue, 9 Feb 1993 23:44:25 +0000 (18:44 -0500)]
(promoted_input_arg): New function.
From-SVN: r3449
Brendan Kehoe [Tue, 9 Feb 1993 19:05:03 +0000 (14:05 -0500)]
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
Richard Stallman [Tue, 9 Feb 1993 18:50:33 +0000 (18:50 +0000)]
(main): Fix lineno of "does not end in newline" message.
(finclude): Likewise.
From-SVN: r3447
Michael Meissner [Tue, 9 Feb 1993 17:06:09 +0000 (17:06 +0000)]
Fix integer overflows
From-SVN: r3446
Richard Kenner [Tue, 9 Feb 1993 10:46:08 +0000 (05:46 -0500)]
Undefine ABS; some POSIX systems define it as 1.
From-SVN: r3445
Richard Kenner [Tue, 9 Feb 1993 10:45:36 +0000 (05:45 -0500)]
(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
Richard Stallman [Tue, 9 Feb 1993 06:13:46 +0000 (06:13 +0000)]
(size_in_bytes): Add 2nd arg to force_fit_type.
From-SVN: r3443
John Hassey [Mon, 8 Feb 1993 15:17:53 +0000 (15:17 +0000)]
(compile_file): Don't flag global register variables as unused.
From-SVN: r3442
James Van Artsdalen [Mon, 8 Feb 1993 14:09:00 +0000 (14:09 +0000)]
(extendsidi2): Use correct mnemonic for cwtl opcode.
From-SVN: r3441
Richard Kenner [Mon, 8 Feb 1993 10:51:58 +0000 (05:51 -0500)]
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
Richard Kenner [Mon, 8 Feb 1993 10:49:27 +0000 (05:49 -0500)]
(emit_push_insn): If REG is zero, don't set regs here.
From-SVN: r3439
Richard Kenner [Mon, 8 Feb 1993 10:49:05 +0000 (05:49 -0500)]
(MUST_PASS_IN_STACK_BAD_ALIGN): Deleted.
(MUST_PASS_IN_STACK): No problem anymore with nonaligned structs.
From-SVN: r3438