Commit Graph

4067 Commits

Author SHA1 Message Date
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
Richard Kenner 2c609fee57 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
register class GEN_AND_FLOAT_REGS.

From-SVN: r4048
1993-04-08 21:35:57 -04:00
Richard Stallman 260958680b Typo in last change.
From-SVN: r4047
1993-04-09 01:35:55 +00:00
Richard Stallman 1c48d17e61 (c-parse.y, objc-parse.y): Use sed, not awk.
From-SVN: r4046
1993-04-09 00:20:09 +00:00
Richard Stallman fbe23ee741 (finish_enum): Store layout results into variant types.
From-SVN: r4045
1993-04-09 00:00:06 +00:00
Richard Stallman 6d9efc7bd6 (mark_set_1): Clear reg_next_use at the proper place.
From-SVN: r4044
1993-04-08 22:42:43 +00:00
Ian Lance Taylor 56f9206d8b Allow libgcc2.a to be built using fixed header files
From-SVN: r4043
1993-04-08 14:53:33 +00:00
Michael Meissner 0e53614d59 Move tree.h prototypes of c-* functions to c-tree.h
From-SVN: r4042
1993-04-08 10:57:49 +00:00
Richard Stallman 8244fc4f48 (mark_set_1): Clear reg_next_use for all kinds of regs.
From-SVN: r4041
1993-04-07 22:13:16 +00:00
Michael Meissner 84ab931b38 Add -fpic support back in.
From-SVN: r4040
1993-04-07 13:17:34 +00:00
Jim Wilson 3c01f863ee (va_arg): Cast argument pointer to (char *).
From-SVN: r4039
1993-04-06 18:33:35 -07:00
Richard Stallman 39ab948e9d (start_function): Inhibit missing prototype warning for `main'.
From-SVN: r4038
1993-04-06 22:07:51 +00:00
Brendan Kehoe 1387e80cf5 tree.h (require_complete_type, [...]): Add prototypes.
* tree.h (require_complete_type, lookup_name_current_level): Add
        prototypes.

From-SVN: r4037
1993-04-06 17:25:12 -04:00
Jim Wilson 1f1e8172a8 (loop_iterations): When computing comparison_value, use
reg_set_p to identify instructions that modify it.

From-SVN: r4036
1993-04-06 12:38:34 -07:00
Jim Wilson fdd79c58a2 (lshldi3, lshrdi3): Define.
From-SVN: r4035
1993-04-06 12:36:49 -07:00
Jim Wilson 8fad1c106d (STAGESTUFF): Add insn-opinit.c, stamp-opinit, and genopinit.
From-SVN: r4034
1993-04-06 12:34:36 -07:00
Jim Wilson a94d16c611 (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
1993-04-06 12:32:37 -07:00
Jim Wilson 677ff44144 (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
1993-04-06 12:30:45 -07:00
Jim Wilson 1b8297c13f (init_function_start): Always set
current_funtion_returns_pcc_struct if PCC_STATIC_STRUCT_RETURN defined.

From-SVN: r4031
1993-04-06 12:28:47 -07:00