Commit Graph

4061 Commits

Author SHA1 Message Date
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
Jim Wilson 80f9d7f2dd (movdi): End by returning the last template; otherwise
we return junk for a template.

From-SVN: r4030
1993-04-06 12:26:49 -07:00
Roland McGrath 28c75e1798 entered into RCS
From-SVN: r4029
1993-04-06 19:23:20 +00:00
Jim Wilson a3c11cd350 Add prototypes.
From-SVN: r4028
1993-04-06 12:09:26 -07:00
Michael Meissner b82b0773d7 More mips gas changes, allow -gdwarf on OSF/1
From-SVN: r4027
1993-04-06 16:09:50 +00:00
Richard Stallman 196ddf8aff (emit_reload_insns): Cast enum array index to int.
From-SVN: r4026
1993-04-06 05:49:35 +00:00
Jeff Law aadcdb458c 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
1993-04-05 18:52:19 -06:00