gcc.git
31 years ago(layout_record): After copying the offsets of a field that is an anonymous union...
Richard Kenner [Sun, 11 Apr 1993 10:41:55 +0000 (06:41 -0400)]
(layout_record): After copying the offsets of a field that is an anonymous union to the offsets of the fields of that union...

(layout_record): After copying the offsets of a field that is an
anonymous union to the offsets of the fields of that union, zero the
offset of the anonymous field in case it is used to access the inner
fields.

From-SVN: r4083

31 years ago(make_compound_operation, case xSHIFTRT):
Richard Kenner [Sun, 11 Apr 1993 10:39:54 +0000 (06:39 -0400)]
(make_compound_operation, case xSHIFTRT):

Clean up code so more readable and don't restrict to case where C2 >= C1.
Pass correct (inner) code to recursive call.
(make_compound_operation, case SUBREG): Pass the code of our operand
to recursive call, not SUBREG, and make another recursive call after
calling force_to_mode.

From-SVN: r4082

31 years ago(expand_divmod): When adjusting op0 for trunc_div or trunc_mod...
Richard Stallman [Sun, 11 Apr 1993 08:08:54 +0000 (08:08 +0000)]
(expand_divmod): When adjusting op0 for trunc_div or trunc_mod...

(expand_divmod): When adjusting op0 for trunc_div or
trunc_mod, using shifts (not branches), make a new pseudo for the
result.  Don't use target for adjusted_op0.

From-SVN: r4081

31 years ago(ONLY_INT_FIELDS): No longer needed.
Richard Kenner [Sat, 10 Apr 1993 15:00:08 +0000 (11:00 -0400)]
(ONLY_INT_FIELDS): No longer needed.

From-SVN: r4080

31 years ago(alpha_sa_size): Need to save $26 if it is used or if any other register is saved...
Richard Kenner [Sat, 10 Apr 1993 14:56:57 +0000 (10:56 -0400)]
(alpha_sa_size): Need to save $26 if it is used or if any other register is saved...

(alpha_sa_size): Need to save $26 if it is used or if any other
register is saved, but not just because a stack space is needed.
(output_prolog): Add code to probe the stack if we allocate more than
4096 bytes; required by chapter 7 (for threads).
Know when to save $26.
(output_epilog): Know when to restore $26.

From-SVN: r4079

31 years ago(add/sub): Correct predicates and constraints for sNaddX and addX insns...
Richard Kenner [Sat, 10 Apr 1993 14:56:02 +0000 (10:56 -0400)]
(add/sub): Correct predicates and constraints for sNaddX and addX insns...

(add/sub): Correct predicates and constraints for sNaddX and addX insns; we
can use sNsubX and subX to add small negative constants.
Don't split addition to SP since we want to update it just once.
(beq, bne): Use subtract, not compare for ints; it's more efficient.
(define_split for comparisons): Always prefer add/sub if it will work.
(probe_stack, allocate_stack): New patterns.

From-SVN: r4078

31 years agoInitial revision
Tom Wood [Sat, 10 Apr 1993 01:05:19 +0000 (01:05 +0000)]
Initial revision

From-SVN: r4077

31 years agoUpdate to new runtimes.
Tom Wood [Sat, 10 Apr 1993 01:05:19 +0000 (01:05 +0000)]
Update to new runtimes.

From-SVN: r4076

31 years agoInitial revision
Tom Wood [Sat, 10 Apr 1993 01:03:51 +0000 (01:03 +0000)]
Initial revision

From-SVN: r4075

31 years ago(free_tree_list): New variable.
Jim Wilson [Sat, 10 Apr 1993 00:02:10 +0000 (17:02 -0700)]
(free_tree_list): New variable.

(digest_init): Set free_tree_list.
(process_init_constructor): Use add_double to do arithmetic with
double integers instead of using fold/build to to arithmetic in
type of array index.  Use free_tree_list when available instead of
generating a new tree_list.

From-SVN: r4074

31 years agoMove machine independent portions to nextstep.h and nextstep.c.
Tom Wood [Fri, 9 Apr 1993 23:45:19 +0000 (23:45 +0000)]
Move machine independent portions to nextstep.h and nextstep.c.

Move machine independent portions to
nextstep.h and nextstep.c.  Update to NeXTSTEP 3.0 and 3.1.

From-SVN: r4073

31 years agoInitial revision
Tom Wood [Fri, 9 Apr 1993 23:45:02 +0000 (23:45 +0000)]
Initial revision

From-SVN: r4072

31 years ago> Default to bsd if vendor is next.
Tom Wood [Fri, 9 Apr 1993 23:43:20 +0000 (23:43 +0000)]
> Default to bsd if vendor is next.

From-SVN: r4071

31 years ago(lang_options): Add -fgnu-runtime and -fnext-runtime.
Tom Wood [Fri, 9 Apr 1993 23:14:18 +0000 (23:14 +0000)]
(lang_options): Add -fgnu-runtime and -fnext-runtime.

From-SVN: r4070

31 years agoAdd support for protocols, classes, and strings.
Tom Wood [Fri, 9 Apr 1993 23:12:37 +0000 (23:12 +0000)]
Add support for protocols, classes, and strings.

Add support for protocols, classes, and
strings.  Update the runtime targets for the new GNU runtimes as
well as existing NeXT runtimes.

From-SVN: r4069

31 years ago*** empty log message ***
Tom Wood [Fri, 9 Apr 1993 23:12:37 +0000 (23:12 +0000)]
*** empty log message ***

From-SVN: r4068

31 years ago(comptypes, convert_for_assignment): Check for Objective-C protocols (non-reflexive...
Tom Wood [Fri, 9 Apr 1993 23:11:51 +0000 (23:11 +0000)]
(comptypes, convert_for_assignment): Check for Objective-C protocols (non-reflexive use of maybe_objc_comptypes).

(comptypes, convert_for_assignment): Check for
Objective-C protocols (non-reflexive use of maybe_objc_comptypes).
(comp_target_types): Rewrite so that maybe_objc_comptypes checks
protocols when processing an Objective-C module.  For C modules,
the code path is unchanged.
(convert_for_assignment): Improve the error message for
incompatible message arguments.

From-SVN: r4067

31 years ago(is_class_name, maybe_objc_method_name,
Tom Wood [Fri, 9 Apr 1993 23:11:34 +0000 (23:11 +0000)]
(is_class_name, maybe_objc_method_name,

build_objc_string): New functions.

From-SVN: r4066

31 years ago> (grokfield): Check for statically allocated objects.
Tom Wood [Fri, 9 Apr 1993 23:10:58 +0000 (23:10 +0000)]
> (grokfield): Check for statically allocated objects.

From-SVN: r4065

31 years agoAdd declarations for functions in objc-act.c.
Tom Wood [Fri, 9 Apr 1993 23:10:47 +0000 (23:10 +0000)]
Add declarations for functions in objc-act.c.

(doing_objc_thang): Declare here.

From-SVN: r4064

31 years agoIncorporate the Objective-C keywords from
Tom Wood [Fri, 9 Apr 1993 23:07:39 +0000 (23:07 +0000)]
Incorporate the Objective-C keywords from
objc-parse.gperf and add the new keywords.

From-SVN: r4063

31 years ago(RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_ONEWAY,
Tom Wood [Fri, 9 Apr 1993 23:06:58 +0000 (23:06 +0000)]
(RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_ONEWAY,

RID_ID): New Objective-C keywords.

From-SVN: r4062

31 years agoAccept i370, mvs.
Richard Stallman [Fri, 9 Apr 1993 21:53:00 +0000 (21:53 +0000)]
Accept i370, mvs.

For i370-ibm*, assume mvs by default.
Later, likewise, for i370-*.
For -mvs*, assume ibm as default vendor.

From-SVN: r4061

31 years agoMore of previous change.
Richard Stallman [Fri, 9 Apr 1993 21:47:48 +0000 (21:47 +0000)]
More of previous change.

From-SVN: r4060

31 years ago(yylex): Use MAP_CHARACTER if it's defined.
Richard Stallman [Fri, 9 Apr 1993 21:46:58 +0000 (21:46 +0000)]
(yylex): Use MAP_CHARACTER if it's defined.

From-SVN: r4059

31 years agoUpdated to handle current Makefile and new config/i386/go32.h.
Richard Stallman [Fri, 9 Apr 1993 21:43:42 +0000 (21:43 +0000)]
Updated to handle current Makefile and new config/i386/go32.h.

From-SVN: r4058

31 years ago(no_precomp): Make it 1 by default.
Richard Stallman [Fri, 9 Apr 1993 21:42:29 +0000 (21:42 +0000)]
(no_precomp): Make it 1 by default.

From-SVN: r4057

31 years agoentered into RCS
Roland McGrath [Fri, 9 Apr 1993 21:40:31 +0000 (21:40 +0000)]
entered into RCS

From-SVN: r4056

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

From-SVN: r4055

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

From-SVN: r4054

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

From-SVN: r4053

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

From-SVN: r4052

31 years agoInclude hard-reg-set.h.
Richard Kenner [Fri, 9 Apr 1993 01:44:57 +0000 (21:44 -0400)]
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.

From-SVN: r4051

31 years ago(force_to_mode...
Richard Kenner [Fri, 9 Apr 1993 01:39:46 +0000 (21:39 -0400)]
(force_to_mode...

(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.

From-SVN: r4050

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

From-SVN: r4049

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

From-SVN: r4048

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

From-SVN: r4047

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

From-SVN: r4046

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

From-SVN: r4045

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

From-SVN: r4044

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

From-SVN: r4043

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

From-SVN: r4042

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

From-SVN: r4041

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

From-SVN: r4040

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

From-SVN: r4039

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

From-SVN: r4038

31 years agotree.h (require_complete_type, [...]): Add prototypes.
Brendan Kehoe [Tue, 6 Apr 1993 21:25:12 +0000 (17:25 -0400)]
tree.h (require_complete_type, [...]): Add prototypes.

        * tree.h (require_complete_type, lookup_name_current_level): Add
        prototypes.

From-SVN: r4037

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

From-SVN: r4036

31 years ago(lshldi3, lshrdi3): Define.
Jim Wilson [Tue, 6 Apr 1993 19:36:49 +0000 (12:36 -0700)]
(lshldi3, lshrdi3): Define.

From-SVN: r4035

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

From-SVN: r4034

31 years ago(do_include): For missing header file...
Jim Wilson [Tue, 6 Apr 1993 19:32:37 +0000 (12:32 -0700)]
(do_include): For missing header file...

(do_include): For missing header file, if -M, don't
output dependencies, and warning not error if no dependency is
needed.

From-SVN: r4033

31 years ago(decl_attributes...
Jim Wilson [Tue, 6 Apr 1993 19:30:45 +0000 (12:30 -0700)]
(decl_attributes...

(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.

From-SVN: r4032

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

From-SVN: r4031

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

From-SVN: r4030

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

From-SVN: r4029

31 years agoAdd prototypes.
Jim Wilson [Tue, 6 Apr 1993 19:09:26 +0000 (12:09 -0700)]
Add prototypes.

From-SVN: r4028

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

From-SVN: r4027

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

From-SVN: r4026

31 years agopa.c (print_stw, print_ldw): Delete.
Jeff Law [Tue, 6 Apr 1993 00:52:19 +0000 (18:52 -0600)]
pa.c (print_stw, print_ldw): Delete.

* 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.

From-SVN: r4025

31 years agopa.h (FIXED_REGISTERS): %r4 is no longer fixed.
Jeff Law [Tue, 6 Apr 1993 00:51:37 +0000 (18:51 -0600)]
pa.h (FIXED_REGISTERS): %r4 is no longer fixed.

* 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.

From-SVN: r4024

31 years agopa.md (prologue, epilogue): New define_expands.
Jeff Law [Tue, 6 Apr 1993 00:51:12 +0000 (18:51 -0600)]
pa.md (prologue, epilogue): New define_expands.

* pa.md (prologue, epilogue): New define_expands.
(return_internal, call_profiler): New define_insns.

From-SVN: r4023

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

From-SVN: r4022

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

From-SVN: r4021

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

From-SVN: r4020

31 years ago(expr_no_commas, from ASSIGN op):
Richard Stallman [Mon, 5 Apr 1993 06:36:22 +0000 (06:36 +0000)]
(expr_no_commas, from ASSIGN op):

Store ERROR_MARK as the original code.

From-SVN: r4019

31 years agopa.md (movdi patterns): Do not accept 1.0 FP registers in the constraints.
Jeff Law [Mon, 5 Apr 1993 00:19:36 +0000 (18:19 -0600)]
pa.md (movdi patterns): Do not accept 1.0 FP registers in the constraints.

* 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

From-SVN: r4018

31 years agopa.h (HARD_REGNO_MODE_OK): Do not accept integer modes greater than 32 bits in 1...
Jeff Law [Mon, 5 Apr 1993 00:18:07 +0000 (18:18 -0600)]
pa.h (HARD_REGNO_MODE_OK): Do not accept integer modes greater than 32 bits in 1.0 FP registers.

* 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.

From-SVN: r4017

31 years agopa.md (dbra pattern): Extend to allow any 5 bit increment...
Jeff Law [Mon, 5 Apr 1993 00:12:54 +0000 (18:12 -0600)]
pa.md (dbra pattern): Extend to allow any 5 bit increment...

* 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.

From-SVN: r4016

31 years agopa.md (movsi for FP regs): Delete special case patterns.
Jeff Law [Mon, 5 Apr 1993 00:08:54 +0000 (18:08 -0600)]
pa.md (movsi for FP regs): Delete special case patterns.

* 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.

From-SVN: r4015

31 years agopa.c (short_memory_operand): Delete.
Jeff Law [Mon, 5 Apr 1993 00:08:33 +0000 (18:08 -0600)]
pa.c (short_memory_operand): Delete.

* pa.c (short_memory_operand): Delete.
(emit_move_sequence): Do not use short_memory_operand When testing
for secondary reloads for FP loads/stores.

From-SVN: r4014

31 years agopa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept pseudos which did not...
Jeff Law [Mon, 5 Apr 1993 00:07:08 +0000 (18:07 -0600)]
pa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept pseudos which did not get hard registers.

* pa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept
pseudos which did not get hard registers.  Do not use
short_memory_operand.

From-SVN: r4013

31 years ago(FUNCTION_OUTGOING_VALUE): Remove.
Torbjorn Granlund [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.

From-SVN: r4012

31 years agoChange "illegal" to "invalid" in error messages.
Richard Stallman [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.

From-SVN: r4011

31 years agoInclude reload.h.
Richard Kenner [Sun, 4 Apr 1993 22:14:12 +0000 (18:14 -0400)]
Include reload.h.

From-SVN: r4010

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

From-SVN: r4009

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

From-SVN: r4008

31 years ago(expand_call) [PCC_STATIC_STRUCT_RETURN]:
Richard Stallman [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.

From-SVN: r4007

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

From-SVN: r4006

31 years ago(type_attribute): Use the TYPE_MAIN_VARIANT of the
Richard Stallman [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'.

From-SVN: r4005

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

From-SVN: r4004

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

From-SVN: r4003

31 years ago(SETUP_INCOMING_VARARGS): Adjust for fact that
Richard Kenner [Sun, 4 Apr 1993 14:09:44 +0000 (10:09 -0400)]
(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.

From-SVN: r4002

31 years ago(rare_destination): New function.
Richard Kenner [Sun, 4 Apr 1993 11:57:10 +0000 (07:57 -0400)]
(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.

From-SVN: r4001

31 years ago(XFtype): Do define it, if LONG_DOUBLE_TYPE_SIZE == 96.
Richard Stallman [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.

From-SVN: r4000

31 years ago[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
Richard Stallman [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__.)

From-SVN: r3999

31 years ago[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
Richard Stallman [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__.)

From-SVN: r3998

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

From-SVN: r3997

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

From-SVN: r3996

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

From-SVN: r3995

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

From-SVN: r3994

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

From-SVN: r3993

31 years ago(simplify_comparison, case PLUS): Generalize simplification of (eq (plus A B) C).
Richard Kenner [Sat, 3 Apr 1993 22:34:45 +0000 (17:34 -0500)]
(simplify_comparison, case PLUS): Generalize simplification of (eq (plus A B) C).

(simplify_comparison, case PLUS): Generalize simplification
of (eq (plus A B) C).
(simplify_comparison, case MINUS): Add corresponding cases.

From-SVN: r3992

31 years ago(reload_reg_used_for_inherit): New variable.
Richard Kenner [Fri, 2 Apr 1993 23:43:16 +0000 (18:43 -0500)]
(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.

From-SVN: r3991

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

From-SVN: r3990

31 years agoreorg.c (redundant_insn_p): Stop searching for a redundant insn if an INSN or JUMP_IN...
Jeff Law [Fri, 2 Apr 1993 00:38:33 +0000 (17:38 -0700)]
reorg.c (redundant_insn_p): Stop searching for a redundant insn if an INSN or JUMP_INSN with delayed...

* reorg.c (redundant_insn_p): Stop searching for a redundant
insn if an INSN or JUMP_INSN with delayed effects is
encountered.

From-SVN: r3989

31 years agoMake sure long double doesn't become 80 bits until we are ready for it.
Michael 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.

From-SVN: r3988

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

From-SVN: r3987

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

From-SVN: r3986

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

From-SVN: r3985

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

From-SVN: r3984