Commit Graph

4085 Commits

Author SHA1 Message Date
Richard Kenner
96c10aa164 (jump_optimize, clause for `x=a; if (...) x=b;'): Do this regardless
of BRANCH_COST if HAVE_conditional_move defined.

From-SVN: r4098
1993-04-12 13:23:50 -04:00
Kresten Krab Thorup
24e5fe8bae (-awake:): added methods
From-SVN: r4097
1993-04-12 15:50:02 +00:00
Kresten Krab Thorup
8117ac5599 Update for new runtime
From-SVN: r4096
1993-04-12 15:44:52 +00:00
Kresten Krab Thorup
2ebb305328 *** empty log message ***
From-SVN: r4095
1993-04-12 15:44:37 +00:00
Kresten Krab Thorup
6d9bd62495 now "#include"s objc-archive.h
From-SVN: r4094
1993-04-12 15:44:25 +00:00
Kresten Krab Thorup
d408c5dad6 (__objc_init_install_dtable,
__objc_install_dtable_for_class): Call to
__objc_resolve_class_links moved to the latter.

From-SVN: r4093
1993-04-12 15:44:02 +00:00
Kresten Krab Thorup
eca33b05fb Stripped anything added by
kane@cc.purdue.edu which is not considered "minor changes"

From-SVN: r4092
1993-04-12 15:43:31 +00:00
Kresten Krab Thorup
ab65ae3cec Deleted #include "mutext.h"
From-SVN: r4091
1993-04-12 15:42:44 +00:00
Kresten Krab Thorup
e9dce16126 (-read:, -write:): added
Stripped anything added by
kane@cc.purdue.edu which is not considered "minor changes"

From-SVN: r4090
1993-04-12 15:41:52 +00:00
Kresten Krab Thorup
5375a2043d (objc_write_reference) added
From-SVN: r4089
1993-04-12 15:12:59 +00:00
Kresten Krab Thorup
305f8c5baf Updated for new runtime
From-SVN: r4088
1993-04-12 15:00:55 +00:00
Richard Stallman
96b11bedc4 Define MKTEMP_EACH_FILE and NO_PRECOMPILES.
From-SVN: r4087
1993-04-12 05:35:04 +00:00
Richard Kenner
be07ab12f7 (strip_off_ending): Add .atr for Ada.
From-SVN: r4086
1993-04-11 15:22:53 -04:00
Richard Stallman
a66a10c707 (can_combine_p): Don't move an UNSPEC_VOLATILE.
From-SVN: r4085
1993-04-11 18:46:06 +00:00
Richard Kenner
c8cfe1f62b (add_to_delay_list): Clear any cached block information for INSN.
From-SVN: r4084
1993-04-11 09:24:02 -04:00
Richard Kenner
cbcf989d7f (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
1993-04-11 06:41:55 -04:00
Richard Kenner
0a5cbff6d4 (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
1993-04-11 06:39:54 -04:00
Richard Stallman
f2dd837227 (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
1993-04-11 08:08:54 +00:00
Richard Kenner
52266016a2 (ONLY_INT_FIELDS): No longer needed.
From-SVN: r4080
1993-04-10 11:00:08 -04:00
Richard Kenner
c97e3db7fa (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
1993-04-10 10:56:57 -04:00
Richard Kenner
2695850994 (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
1993-04-10 10:56:02 -04:00
Tom Wood
c72fc2d9d9 Initial revision
From-SVN: r4077
1993-04-10 01:05:19 +00:00
Tom Wood
b2055d6de3 Update to new runtimes.
From-SVN: r4076
1993-04-10 01:05:19 +00:00
Tom Wood
3e676e9922 Initial revision
From-SVN: r4075
1993-04-10 01:03:51 +00:00
Jim Wilson
fe67cf58ff (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
1993-04-09 17:02:10 -07:00
Tom Wood
78bdb6bcdf 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
1993-04-09 23:45:19 +00:00
Tom Wood
9fdecdb730 Initial revision
From-SVN: r4072
1993-04-09 23:45:02 +00:00
Tom Wood
7aed76fda8 > Default to bsd if vendor is next.
From-SVN: r4071
1993-04-09 23:43:20 +00:00
Tom Wood
f5309ddfa8 (lang_options): Add -fgnu-runtime and -fnext-runtime.
From-SVN: r4070
1993-04-09 23:14:18 +00:00
Tom Wood
2fb3112712 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
1993-04-09 23:12:37 +00:00
Tom Wood
e31c7eec77 *** empty log message ***
From-SVN: r4068
1993-04-09 23:12:37 +00:00
Tom Wood
8b40563cd8 (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
1993-04-09 23:11:51 +00:00
Tom Wood
a604ca2693 (is_class_name, maybe_objc_method_name,
build_objc_string): New functions.

From-SVN: r4066
1993-04-09 23:11:34 +00:00
Tom Wood
abe31bf86e > (grokfield): Check for statically allocated objects.
From-SVN: r4065
1993-04-09 23:10:58 +00:00
Tom Wood
bfb73556ea Add declarations for functions in objc-act.c.
(doing_objc_thang): Declare here.

From-SVN: r4064
1993-04-09 23:10:47 +00:00
Tom Wood
796c0c9367 Incorporate the Objective-C keywords from
objc-parse.gperf and add the new keywords.

From-SVN: r4063
1993-04-09 23:07:39 +00:00
Tom Wood
163051e752 (RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_ONEWAY,
RID_ID): New Objective-C keywords.

From-SVN: r4062
1993-04-09 23:06:58 +00:00
Richard Stallman
141aa3f8fe Accept i370, mvs.
For i370-ibm*, assume mvs by default.
Later, likewise, for i370-*.
For -mvs*, assume ibm as default vendor.

From-SVN: r4061
1993-04-09 21:53:00 +00:00
Richard Stallman
f6cb348739 More of previous change.
From-SVN: r4060
1993-04-09 21:47:48 +00:00
Richard Stallman
b539a65169 (yylex): Use MAP_CHARACTER if it's defined.
From-SVN: r4059
1993-04-09 21:46:58 +00:00
Richard Stallman
d9daaee866 Updated to handle current Makefile and new config/i386/go32.h.
From-SVN: r4058
1993-04-09 21:43:42 +00:00
Richard Stallman
5f12e361fa (no_precomp): Make it 1 by default.
From-SVN: r4057
1993-04-09 21:42:29 +00:00
Roland McGrath
73509aec0f entered into RCS
From-SVN: r4056
1993-04-09 21:40:31 +00:00
Richard Stallman
20e389ef93 Initial revision
From-SVN: r4055
1993-04-09 21:40:24 +00:00
Ian Lance Taylor
97ac90642c Install as $(target)-gcc, not gcc-$(target)
From-SVN: r4054
1993-04-09 19:34:47 +00:00
Ian Lance Taylor
c49c480390 Don't put #ifndefs in limits.h if they are already there
From-SVN: r4053
1993-04-09 19:12:20 +00:00
Richard Kenner
1717563d61 (combine.o): Includes hard-reg-set.h.
From-SVN: r4052
1993-04-08 21:45:43 -04:00
Richard Kenner
55310dadb0 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
1993-04-08 21:44:57 -04:00
Richard Kenner
f67850266f (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
1993-04-08 21:39:46 -04:00
Richard Kenner
5bf6e3bd1e (do_store_flag, case GT_EXPR, LE_EXPR): Don't confuse highest unsigned
value with -1.

From-SVN: r4049
1993-04-08 21:38:46 -04:00