Commit Graph

4094 Commits

Author SHA1 Message Date
Jim Wilson
dab8915b3f (install-common): Delete $(bindir)/$(target)-gcc
before trying to install it.

From-SVN: r4107
1993-04-12 14:59:19 -07:00
Jim Wilson
ad2373403f (CONSTANT_ALIGNMENT): Only increase alignment of string constants.
From-SVN: r4106
1993-04-12 12:53:31 -07:00
Jim Wilson
8cacec76fd (library_prefix): Delete variable.
(process_command): Delete uses of library_prefix.
(do_spec_1, D case): Delete use of library_prefix.

From-SVN: r4105
1993-04-12 12:50:01 -07:00
Jim Wilson
5460015dec (emit_stack_save): At end, call validize_mem when inside sequence.
From-SVN: r4104
1993-04-12 12:48:02 -07:00
Jim Wilson
b76478952b (fold...
(fold, COMPOUND_EXPR case): When pedantic, don't
simplify a COMPOUND_EXPR, so that it won't be mistaken for an
lvalue or an integer constant expression.

From-SVN: r4103
1993-04-12 12:45:58 -07:00
Jim Wilson
29df70e6ff (internal_build_compound_expr): When pedantic...
(internal_build_compound_expr): When pedantic, don't
simplify a COMPOUND_EXPR, so that it won't be mistaken for an
lvalue or an integer constant expression.

From-SVN: r4102
1993-04-12 12:44:47 -07:00
Richard Kenner
fa5679bb7f (adddi3/subdi3): Allow immediate constants.
From-SVN: r4101
1993-04-12 15:28:24 -04:00
Richard Kenner
9854d9edf8 (print_operand): Sort all cases in alphabetical order.
(print_operand, case 'G'): New case.
(output_epilog): Know that "GNU Obj-C" is the language string for Objective-C.

From-SVN: r4100
1993-04-12 15:27:55 -04:00
Richard Kenner
2afabb483c (record_value_for_reg): Properly set SUBST_LOW_CUID for last change;
otherwise won't get best value.

From-SVN: r4099
1993-04-12 15:23:44 -04:00
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