OSDN Git Service

pf3gnuchains/gcc-fork.git
31 years agoentered into RCS
roland [Fri, 9 Apr 1993 21:40:31 +0000 (21:40 +0000)]
entered into RCS

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4056 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoInitial revision
rms [Fri, 9 Apr 1993 21:40:24 +0000 (21:40 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4055 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoInstall as $(target)-gcc, not gcc-$(target)
ian [Fri, 9 Apr 1993 19:34:47 +0000 (19:34 +0000)]
Install as $(target)-gcc, not gcc-$(target)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4054 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoDon't put #ifndefs in limits.h if they are already there
ian [Fri, 9 Apr 1993 19:12:20 +0000 (19:12 +0000)]
Don't put #ifndefs in limits.h if they are already there

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4053 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(combine.o): Includes hard-reg-set.h.
kenner [Fri, 9 Apr 1993 01:45:43 +0000 (01:45 +0000)]
(combine.o): Includes hard-reg-set.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4052 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoInclude hard-reg-set.h.
kenner [Fri, 9 Apr 1993 01:44:57 +0000 (01:44 +0000)]
Include hard-reg-set.h.
(reg_nonzero_bits): Should be unsigned.
(reg_last_set_{mode,nonzero_bits,sign_bit_copies}): New variables.
(combine_instructions): Allocate and initialized them.
(nonzero_bits, num_sign_bit_copies, case REG): Use new variables to get
information on regs we've seen before.
(record_value_for_reg): Set new variables for register being modified.
(record_dead_and_set_regs): Invalidate regs clobbered by CALL_INSN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4051 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(force_to_mode, case xSHIFT): Don't narrow the mode unless we can be
kenner [Fri, 9 Apr 1993 01:39:46 +0000 (01:39 +0000)]
(force_to_mode, case xSHIFT): Don't narrow the mode unless we can be
sure that the shift count is smaller than the size of the mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4050 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(do_store_flag, case GT_EXPR, LE_EXPR): Don't confuse highest unsigned
kenner [Fri, 9 Apr 1993 01:38:46 +0000 (01:38 +0000)]
(do_store_flag, case GT_EXPR, LE_EXPR): Don't confuse highest unsigned
value with -1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4049 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
kenner [Fri, 9 Apr 1993 01:35:57 +0000 (01:35 +0000)]
(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
register class GEN_AND_FLOAT_REGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4048 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoTypo in last change.
rms [Fri, 9 Apr 1993 01:35:55 +0000 (01:35 +0000)]
Typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4047 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(c-parse.y, objc-parse.y): Use sed, not awk.
rms [Fri, 9 Apr 1993 00:20:09 +0000 (00:20 +0000)]
(c-parse.y, objc-parse.y): Use sed, not awk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4046 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(finish_enum): Store layout results into variant types.
rms [Fri, 9 Apr 1993 00:00:06 +0000 (00:00 +0000)]
(finish_enum): Store layout results into variant types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4045 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(mark_set_1): Clear reg_next_use at the proper place.
rms [Thu, 8 Apr 1993 22:42:43 +0000 (22:42 +0000)]
(mark_set_1): Clear reg_next_use at the proper place.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4044 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoAllow libgcc2.a to be built using fixed header files
ian [Thu, 8 Apr 1993 14:53:33 +0000 (14:53 +0000)]
Allow libgcc2.a to be built using fixed header files

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4043 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoMove tree.h prototypes of c-* functions to c-tree.h
meissner [Thu, 8 Apr 1993 10:57:49 +0000 (10:57 +0000)]
Move tree.h prototypes of c-* functions to c-tree.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4042 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(mark_set_1): Clear reg_next_use for all kinds of regs.
rms [Wed, 7 Apr 1993 22:13:16 +0000 (22:13 +0000)]
(mark_set_1): Clear reg_next_use for all kinds of regs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4041 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoAdd -fpic support back in.
meissner [Wed, 7 Apr 1993 13:17:34 +0000 (13:17 +0000)]
Add -fpic support back in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4040 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(va_arg): Cast argument pointer to (char *).
wilson [Wed, 7 Apr 1993 01:33:35 +0000 (01:33 +0000)]
(va_arg): Cast argument pointer to (char *).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4039 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(start_function): Inhibit missing prototype warning for `main'.
rms [Tue, 6 Apr 1993 22:07:51 +0000 (22:07 +0000)]
(start_function): Inhibit missing prototype warning for `main'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4038 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * tree.h (require_complete_type, lookup_name_current_level): Add
brendan [Tue, 6 Apr 1993 21:25:12 +0000 (21:25 +0000)]
    * tree.h (require_complete_type, lookup_name_current_level): Add
        prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4037 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(loop_iterations): When computing comparison_value, use
wilson [Tue, 6 Apr 1993 19:38:34 +0000 (19:38 +0000)]
(loop_iterations): When computing comparison_value, use
reg_set_p to identify instructions that modify it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4036 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(lshldi3, lshrdi3): Define.
wilson [Tue, 6 Apr 1993 19:36:49 +0000 (19:36 +0000)]
(lshldi3, lshrdi3): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4035 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(STAGESTUFF): Add insn-opinit.c, stamp-opinit, and genopinit.
wilson [Tue, 6 Apr 1993 19:34:36 +0000 (19:34 +0000)]
(STAGESTUFF): Add insn-opinit.c, stamp-opinit, and genopinit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4034 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(do_include): For missing header file, if -M, don't
wilson [Tue, 6 Apr 1993 19:32:37 +0000 (19:32 +0000)]
(do_include): For missing header file, if -M, don't
output dependencies, and warning not error if no dependency is
needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4033 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(decl_attributes, format case): Error if num_arg does
wilson [Tue, 6 Apr 1993 19:30:45 +0000 (19:30 +0000)]
(decl_attributes, format case): Error if num_arg does
not point to a string type argument, or if first_arg_num not the
anonymous argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4032 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(init_function_start): Always set
wilson [Tue, 6 Apr 1993 19:28:47 +0000 (19:28 +0000)]
(init_function_start): Always set
current_funtion_returns_pcc_struct if PCC_STATIC_STRUCT_RETURN defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4031 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(movdi): End by returning the last template; otherwise
wilson [Tue, 6 Apr 1993 19:26:49 +0000 (19:26 +0000)]
(movdi): End by returning the last template; otherwise
we return junk for a template.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4030 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoentered into RCS
roland [Tue, 6 Apr 1993 19:23:20 +0000 (19:23 +0000)]
entered into RCS

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4029 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoAdd prototypes.
wilson [Tue, 6 Apr 1993 19:09:26 +0000 (19:09 +0000)]
Add prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4028 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoMore mips gas changes, allow -gdwarf on OSF/1
meissner [Tue, 6 Apr 1993 16:09:50 +0000 (16:09 +0000)]
More mips gas changes, allow -gdwarf on OSF/1

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4027 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(emit_reload_insns): Cast enum array index to int.
rms [Tue, 6 Apr 1993 05:49:35 +0000 (05:49 +0000)]
(emit_reload_insns): Cast enum array index to int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4026 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * pa.c (print_stw, print_ldw): Delete.
law [Tue, 6 Apr 1993 00:52:19 +0000 (00:52 +0000)]
* pa.c (print_stw, print_ldw): Delete.
(eligible_for_epilogue_delay): Delete.
(hppa_epilogue_delay_slots): Delete.
(store_reg, load_reg, set_reg_plus_d): New helper functions.
(output_function_prologue): Only emit assembler pseudo-ops
to denote the start of a function.  Place the correct
value into hp_profile_label_name if profiling.
(output_function_epilogue): Only emit assembler pseudo-ops
to deonte the end of a function.
(hppa_expand_prologue): New function to emit all prologue
code as RTL.
(hppa_expand_epilogue): Likewise for the epilogue.
(compute_frame_size): Update to account for using %r4 as an
allocatable register if the frame pointer was eliminated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4025 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * pa.h (FIXED_REGISTERS): %r4 is no longer fixed.
law [Tue, 6 Apr 1993 00:51:37 +0000 (00:51 +0000)]
* pa.h  (FIXED_REGISTERS): %r4 is no longer fixed.
(CALL_USED_REGISTERS): %r4 is no longer CALL_USED either.
(REG_ALLOC_ORDER): Move %r4 up in the allocation order.
(DELAY_SLOTS_FOR_EPILOGUE): Delete.
(ELIGIBLE_FOR_EPILOGUE_DELAY): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4024 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * pa.md (prologue, epilogue): New define_expands.
law [Tue, 6 Apr 1993 00:51:12 +0000 (00:51 +0000)]
* pa.md (prologue, epilogue): New define_expands.
(return_internal, call_profiler): New define_insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4023 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(expand_expr, case SAVE_EXPR): Pass promoted type to store_expr.
kenner [Mon, 5 Apr 1993 10:57:19 +0000 (10:57 +0000)]
(expand_expr, case SAVE_EXPR): Pass promoted type to store_expr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4022 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(store_constructor): Properly compute size of array when
rms [Mon, 5 Apr 1993 10:55:34 +0000 (10:55 +0000)]
(store_constructor): Properly compute size of array when
clearing the whole array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4021 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoc-decl.c (lookup_name_current_level): Make non-static.
bothner [Mon, 5 Apr 1993 06:59:02 +0000 (06:59 +0000)]
c-decl.c (lookup_name_current_level):  Make non-static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4020 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(expr_no_commas, from ASSIGN op):
rms [Mon, 5 Apr 1993 06:36:22 +0000 (06:36 +0000)]
(expr_no_commas, from ASSIGN op):
Store ERROR_MARK as the original code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4019 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * pa.md (movdi patterns): Do not accept 1.0 FP registers in
law [Mon, 5 Apr 1993 00:19:36 +0000 (00:19 +0000)]
* pa.md (movdi patterns): Do not accept 1.0 FP registers in
the constraints.
(floatunsdisf, floatunsdidf expanders): Disable unless TARGET_SNAKE.
(floatdisf2, floatdidf2 patterns): Likewise.
(fix_truncdisf2, fix_truncdidf2): Likewise

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4018 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * pa.h (HARD_REGNO_MODE_OK): Do not accept integer modes
law [Mon, 5 Apr 1993 00:18:07 +0000 (00:18 +0000)]
* pa.h (HARD_REGNO_MODE_OK): Do not accept integer modes
greater than 32 bits in 1.0 FP registers.
* pa.md (movdi patterns): Do not accept 1.0 FP registers.
(floatunsdisf, floatunsdidf expanders): Disable unless TARGET_SNAKE.
(floatdisf2, floatdidf2 patterns): Likewise.
(fix_truncdisf2, fix_truncdidf2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4017 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * pa.md (dbra pattern): Extend to allow any 5 bit increment,
law [Mon, 5 Apr 1993 00:12:54 +0000 (00:12 +0000)]
* pa.md (dbra pattern): Extend to allow any 5 bit increment,
any comparison operator for the compare against zero, and
no longer require the REG_NONNEG note.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4016 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * pa.md (movsi for FP regs): Delete special case patterns.
law [Mon, 5 Apr 1993 00:08:54 +0000 (00:08 +0000)]
* pa.md (movsi for FP regs): Delete special case patterns.
(movdi for FP regs): Likewise.
(movsi main recognizer): Allow fp<->memory copies.
(movdi main recognizer): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4015 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * pa.c (short_memory_operand): Delete.
law [Mon, 5 Apr 1993 00:08:33 +0000 (00:08 +0000)]
* pa.c (short_memory_operand): Delete.
(emit_move_sequence): Do not use short_memory_operand When testing
for secondary reloads for FP loads/stores.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4014 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * pa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept
law [Mon, 5 Apr 1993 00:07:08 +0000 (00:07 +0000)]
* pa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept
pseudos which did not get hard registers.  Do not use
short_memory_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4013 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(FUNCTION_OUTGOING_VALUE): Remove.
tege [Sun, 4 Apr 1993 22:57:55 +0000 (22:57 +0000)]
(FUNCTION_OUTGOING_VALUE): Remove.
(FUNCTION_VALUE_REGNO_P): Return regs depend on TARGET_SNAKE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4012 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoChange "illegal" to "invalid" in error messages.
rms [Sun, 4 Apr 1993 22:47:36 +0000 (22:47 +0000)]
Change "illegal" to "invalid" in error messages.
(parse_stabs_common): Allow nonzero ignored fields in .stabs/.stabn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4011 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoInclude reload.h.
kenner [Sun, 4 Apr 1993 22:14:12 +0000 (22:14 +0000)]
Include reload.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4010 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(optabs.o): Show includes reload.h.
kenner [Sun, 4 Apr 1993 22:13:51 +0000 (22:13 +0000)]
(optabs.o): Show includes reload.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4009 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(get_jump_flags): Check for LABEL == 0 before using LABEL.
kenner [Sun, 4 Apr 1993 21:47:30 +0000 (21:47 +0000)]
(get_jump_flags): Check for LABEL == 0 before using LABEL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4008 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(expand_call) [PCC_STATIC_STRUCT_RETURN]:
rms [Sun, 4 Apr 1993 21:28:09 +0000 (21:28 +0000)]
(expand_call) [PCC_STATIC_STRUCT_RETURN]:
Always set pcc_struct_value if aggregate_value_p returns 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4007 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(alloca.o): Delete -Demacs from command.
rms [Sun, 4 Apr 1993 20:38:29 +0000 (20:38 +0000)]
(alloca.o): Delete -Demacs from command.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4006 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(type_attribute): Use the TYPE_MAIN_VARIANT of the
rms [Sun, 4 Apr 1993 20:28:11 +0000 (20:28 +0000)]
(type_attribute): Use the TYPE_MAIN_VARIANT of the
given type when calling `user_def_type_attribute'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4005 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(output_prolog): Need LDGP even for static procedure.
kenner [Sun, 4 Apr 1993 15:44:08 +0000 (15:44 +0000)]
(output_prolog): Need LDGP even for static procedure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4004 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(alpha_builtin_saveregs): Adjust for fact that
kenner [Sun, 4 Apr 1993 14:10:05 +0000 (14:10 +0000)]
(alpha_builtin_saveregs): Adjust for fact that
virtual_incoming_args_rtx includes pretend size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4003 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(SETUP_INCOMING_VARARGS): Adjust for fact that
kenner [Sun, 4 Apr 1993 14:09:44 +0000 (14:09 +0000)]
(SETUP_INCOMING_VARARGS): Adjust for fact that
virtual_incoming_args_rtx includes pretend size.

(LINK_SPEC): Don't pass -O2 to ld; it seems to be broken.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4002 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(rare_destination): New function.
kenner [Sun, 4 Apr 1993 11:57:10 +0000 (11:57 +0000)]
(rare_destination): New function.
(mostly_true_jump): Refine to use more info about destination and fallthrough;
now returns -1 for very unlikely branches.
(fill_eager_delay_slots, relax_delay_slots): Allow -1 return from
mostly_true_jump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4001 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(XFtype): Do define it, if LONG_DOUBLE_TYPE_SIZE == 96.
rms [Sun, 4 Apr 1993 07:18:03 +0000 (07:18 +0000)]
(XFtype): Do define it, if LONG_DOUBLE_TYPE_SIZE == 96.
(__fixunsxfdi): New function, if LONG_DOUBLE_TYPE_SIZE == 96.
(__fixxfdi, __floatdixf, __fixunsxfsi): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4000 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
rms [Sun, 4 Apr 1993 07:17:15 +0000 (07:17 +0000)]
[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
(This used to be if __SVR4_2__.)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3999 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
rms [Sun, 4 Apr 1993 07:16:41 +0000 (07:16 +0000)]
[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
(This used to test __SVR4_2__.)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3998 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(LIB2FUNCS): Add _fixunsxfdi, _fixxfdi, _floatdixf, _fixunsxfsi.
rms [Sun, 4 Apr 1993 07:15:20 +0000 (07:15 +0000)]
(LIB2FUNCS): Add _fixunsxfdi, _fixxfdi, _floatdixf, _fixunsxfsi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3997 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(floating_exact_log2): Initialize r1.
rms [Sun, 4 Apr 1993 07:09:40 +0000 (07:09 +0000)]
(floating_exact_log2): Initialize r1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3996 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * pa.c (hppa_legitimize_address): Use Pmode consistently.
law [Sun, 4 Apr 1993 01:00:34 +0000 (01:00 +0000)]
* pa.c (hppa_legitimize_address): Use Pmode consistently.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3995 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(emit_reload_insns): Don't update the status of a register from an
kenner [Sat, 3 Apr 1993 22:39:33 +0000 (22:39 +0000)]
(emit_reload_insns): Don't update the status of a register from an
input reload if it also has an output reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3994 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(store_expr): Call size_binop instead of doing the same thing with
kenner [Sat, 3 Apr 1993 22:37:45 +0000 (22:37 +0000)]
(store_expr): Call size_binop instead of doing the same thing with
fold and build.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3993 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(simplify_comparison, case PLUS): Generalize simplification
kenner [Sat, 3 Apr 1993 22:34:45 +0000 (22:34 +0000)]
(simplify_comparison, case PLUS): Generalize simplification
of (eq (plus A B) C).
(simplify_comparison, case MINUS): Add corresponding cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3992 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(reload_reg_used_for_inherit): New variable.
kenner [Fri, 2 Apr 1993 23:43:16 +0000 (23:43 +0000)]
(reload_reg_used_for_inherit): New variable.
(clear_reload_reg_in_use): New function.
(allocate_reload_reg): Don't consider an inherited register as one that we
should share in the first pass.
Don't mark a register in use until we are sure it will fit.
(choose_reload_regs): Mark spill regs used for inheriting.
When we decide we can no longer use a register, show it isn't being used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3991 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(optabs): Fix typo in name for "fix" pattern.
kenner [Fri, 2 Apr 1993 12:48:55 +0000 (12:48 +0000)]
(optabs): Fix typo in name for "fix" pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3990 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * reorg.c (redundant_insn_p): Stop searching for a redundant
law [Fri, 2 Apr 1993 00:38:33 +0000 (00:38 +0000)]
* reorg.c (redundant_insn_p): Stop searching for a redundant
insn if an INSN or JUMP_INSN with delayed effects is
encountered.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3989 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoMake sure long double doesn't become 80 bits until we are ready for it.
meissner [Thu, 1 Apr 1993 16:58:13 +0000 (16:58 +0000)]
Make sure long double doesn't become 80 bits until we are ready for it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3988 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoEliminate statement not reached warning messages that the MIPS compiler generates.
meissner [Thu, 1 Apr 1993 16:58:13 +0000 (16:58 +0000)]
Eliminate statement not reached warning messages that the MIPS compiler generates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3987 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoEliminate extern needed warning messages that the MIPS compiler generates.
meissner [Thu, 1 Apr 1993 16:58:13 +0000 (16:58 +0000)]
Eliminate extern needed warning messages that the MIPS compiler generates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3986 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(emit_push_insn, expand_assignment): Fix typo in last change.
kenner [Thu, 1 Apr 1993 12:27:57 +0000 (12:27 +0000)]
(emit_push_insn, expand_assignment): Fix typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3985 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoemit-rtl.c (init_emit): Clear sequence_stack.
bothner [Thu, 1 Apr 1993 07:32:39 +0000 (07:32 +0000)]
emit-rtl.c (init_emit):  Clear sequence_stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3984 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoFix wrong sign
meissner [Thu, 1 Apr 1993 01:07:04 +0000 (01:07 +0000)]
Fix wrong sign

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3983 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agodefine CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE
brendan [Wed, 31 Mar 1993 23:21:50 +0000 (23:21 +0000)]
define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3982 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(compile_file): Call incomplete_decl_finalize_hook only if nonzero.
rms [Wed, 31 Mar 1993 22:18:57 +0000 (22:18 +0000)]
(compile_file): Call incomplete_decl_finalize_hook only if nonzero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3981 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(compile_file): Only call `*incomplete_decl_finalize_hook'
rms [Wed, 31 Mar 1993 22:16:39 +0000 (22:16 +0000)]
(compile_file): Only call `*incomplete_decl_finalize_hook'
if the `decl' in question is a VAR_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3980 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros.
rms [Wed, 31 Mar 1993 21:43:46 +0000 (21:43 +0000)]
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros.
(PRINT_OPERAND): Likewise.
(ASM_OUTPUT_LONG_DOUBLE): New definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3979 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(FUNCTION_VALUE): Use FUNCTION_VALUEX.
rms [Wed, 31 Mar 1993 21:39:17 +0000 (21:39 +0000)]
(FUNCTION_VALUE): Use FUNCTION_VALUEX.
(FUNCTION_VALUEX): New macro.

(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)
(ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND):
Use REAL_VALUE... macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3978 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)
rms [Wed, 31 Mar 1993 21:36:25 +0000 (21:36 +0000)]
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)
(ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND):
Use REAL_VALUE... macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3977 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)
rms [Wed, 31 Mar 1993 21:35:37 +0000 (21:35 +0000)]
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)
(ASM_OUTPUT_DOUBLE_OPERAND): Use REAL_VALUE... macros.
(ASM_OUTPUT_LONG_DOUBLE): New definition.
(ASM_OUTPUT_FLOAT_OPERAND): New macro.
(PRINT_OPERAND_PRINT_FLOAT): Deleted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3976 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(LIBCALL_VALUE): Handle XFmode.
rms [Wed, 31 Mar 1993 21:31:49 +0000 (21:31 +0000)]
(LIBCALL_VALUE): Handle XFmode.
(PRINT_OPERAND, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3975 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(LIBCALL_VALUE): Handle XFmode.
rms [Wed, 31 Mar 1993 21:29:19 +0000 (21:29 +0000)]
(LIBCALL_VALUE): Handle XFmode.
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros.
(PRINT_OPERAND): Likewise.
(ASM_OUTPUT_LONG_DOUBLE): New definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3974 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(movxf, tstxf, extendsfxf2, extenddfxf2): New patterns.
rms [Wed, 31 Mar 1993 21:23:40 +0000 (21:23 +0000)]
(movxf, tstxf, extendsfxf2, extenddfxf2): New patterns.
(truncxfdf2, truncxfsf2, floatsixf2, floathixf2, floatqixf2): Likewise.
(ftruncxf2, fixxfqi2, fixxfhi2, fixxfsi2): Likewise.
(addxf3, subxf3, mulxf3, divxf3, negxf2, absxf2, sqrtxf2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3973 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(LONG_DOUBLE_TYPE_SIZE): Set to 96, for XFmode support.
rms [Wed, 31 Mar 1993 21:18:22 +0000 (21:18 +0000)]
(LONG_DOUBLE_TYPE_SIZE): Set to 96, for XFmode support.
(ASM_OUTPUT_LONG_DOUBLE_OPERAND) New macro.
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE_... macros.
(ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
(ASM_OUTPUT_FLOAT_OPERAND): Likewise.  Also, new argument CODE.
(ASM_OUTPUT_FLOAT): Delete special def for CROSS_COMPILE.
(ASM_OUTPUT_LONG_DOUBLE): New macro.
(PRINT_OPERAND_EXTRACT_FLOAT): Definitions deleted.
(PRINT_OPERAND_PRINT_FLOAT): Definitions deleted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3972 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(standard_68881_constant_p): Initialize REAL_VALUE_TYPE
rms [Wed, 31 Mar 1993 21:12:24 +0000 (21:12 +0000)]
(standard_68881_constant_p): Initialize REAL_VALUE_TYPE
binary constants from decimal values.  Use REAL_VALUE_... macros.
(standard_sun_fpa_constant_p): Likewise.
(print_operand, floating_exact_log2): Use REAL_VALUE_... macros.
(init_68881_table): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3971 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(expand_expr, case ADDR_EXPR): Allow taking the address of any object;
kenner [Wed, 31 Mar 1993 21:06:33 +0000 (21:06 +0000)]
(expand_expr, case ADDR_EXPR): Allow taking the address of any object;
used in call-by-reference situations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3970 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT, PRINT_OPERAND_FLOAT)
rms [Wed, 31 Mar 1993 21:04:47 +0000 (21:04 +0000)]
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT, PRINT_OPERAND_FLOAT)
(PRINT_OPERAND): Use new REAL_VALUE... macros.
(ASM_OUTPUT_LONG_DOUBLE): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3969 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(next_type_uid): Move definition to reasonable place. (copy_node):
kenner [Wed, 31 Mar 1993 21:03:25 +0000 (21:03 +0000)]
(next_type_uid): Move definition to reasonable place.  (copy_node):
Make new DECL_UID and TYPE_UID as comments say.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3968 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(ASM_OUTPUT_DOUBLE, PRINT_OPERAND):
rms [Wed, 31 Mar 1993 21:01:23 +0000 (21:01 +0000)]
(ASM_OUTPUT_DOUBLE, PRINT_OPERAND):
Use new REAL_VALUE... macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3967 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(emit_block_move, emit_push_insn, expand_assignment): Size passed to
kenner [Wed, 31 Mar 1993 21:01:17 +0000 (21:01 +0000)]
(emit_block_move, emit_push_insn, expand_assignment): Size passed to
memcpy/bcopy is SIZETYPE, not Pmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3966 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):
rms [Wed, 31 Mar 1993 20:59:35 +0000 (20:59 +0000)]
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):
Use new REAL_VALUE... macros.
(ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3965 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):
rms [Wed, 31 Mar 1993 20:57:52 +0000 (20:57 +0000)]
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):
Use new REAL_VALUE... macros.
(ASM_OUTPUT_LONG_DOUBLE): New definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3964 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(simplify_binary_operation, case MULT): When testing for
kenner [Wed, 31 Mar 1993 20:57:24 +0000 (20:57 +0000)]
(simplify_binary_operation, case MULT): When testing for
floating-point equality, make sure we do so inside a region protected
from traps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3963 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(standard_80387_constant_p): When testing for floating-point equality,
kenner [Wed, 31 Mar 1993 20:56:14 +0000 (20:56 +0000)]
(standard_80387_constant_p): When testing for floating-point equality,
make sure we do so inside a region protected from traps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3962 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(INITIAL_ELIMINATION_OFFSET): Subtract
kenner [Wed, 31 Mar 1993 20:52:33 +0000 (20:52 +0000)]
(INITIAL_ELIMINATION_OFFSET): Subtract
current_function_pretend_args_size from OFFSET for AP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3961 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
rms [Wed, 31 Mar 1993 20:43:57 +0000 (20:43 +0000)]
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
Use new REAL_VALUE... macros.
(REAL_ARITHMETIC): Defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3960 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(check_float_value): New function.
rms [Wed, 31 Mar 1993 20:41:33 +0000 (20:41 +0000)]
(check_float_value): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3959 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(ASM_OUTPUT_DOUBLE): Use new REAL_VALUE... macros.
rms [Wed, 31 Mar 1993 20:40:45 +0000 (20:40 +0000)]
(ASM_OUTPUT_DOUBLE): Use new REAL_VALUE... macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3958 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(PRINT_OPERAND, ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
rms [Wed, 31 Mar 1993 20:39:19 +0000 (20:39 +0000)]
(PRINT_OPERAND, ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
Use new REAL_VALUE... macros.
(CHECK_FLOAT_VALUE): Call check_float_value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3957 138bc75d-0d04-0410-961f-82ee72b054a4