Mike Stump [Sat, 15 Oct 1994 17:19:19 +0000 (17:19 +0000)]
move a few important patches (this offset calculations for vtables).
From-SVN: r8280
Jason Merrill [Sat, 15 Oct 1994 00:32:58 +0000 (00:32 +0000)]
(finish_enum): Disable code which forces enums to be signed,
since this conflicts with their use as bitfields. type_promotes_to
handles promotion of enums of underlying unsigned types to signed
integer types.
From-SVN: r8279
Jason Merrill [Sat, 15 Oct 1994 00:32:58 +0000 (00:32 +0000)]
(real_yylex): Use HOST_BITS_PER_WIDE_INT to determine the
bitmask for lexing character constants.
From-SVN: r8278
Jason Merrill [Sat, 15 Oct 1994 00:32:58 +0000 (00:32 +0000)]
(type_promotes_to): Also promote enums to long if
appropriate.
From-SVN: r8277
Jason Merrill [Sat, 15 Oct 1994 00:32:58 +0000 (00:32 +0000)]
(default_conversion): Don't expect type_promotes_to to
return a main variant.
From-SVN: r8276
Jason Merrill [Sat, 15 Oct 1994 00:32:58 +0000 (00:32 +0000)]
*** empty log message ***
From-SVN: r8275
Jason Merrill [Sat, 15 Oct 1994 00:32:58 +0000 (00:32 +0000)]
(build_method_call): Disable code that tries to do tricky stuff with a default parameter that is a constructor call...
(build_method_call): Disable code that tries to do tricky
stuff with a default parameter that is a constructor call, but
actually does other tricky stuff that breaks things.
(build_scoped_method_call): Don't lose side effects in the
object expression when calling a non-existent destructor.
(build_scoped_method_call): Remove erroneous error message
when destructor call is written as a scoped call.
From-SVN: r8274
Jason Merrill [Sat, 15 Oct 1994 00:32:58 +0000 (00:32 +0000)]
(build_decl_overload): Set numeric_outputed_need_bar to 0.
From-SVN: r8273
Jeff Law [Fri, 14 Oct 1994 23:27:02 +0000 (17:27 -0600)]
pa.c (emit_move_sequence): Handle secondary reload when loading a constant into SAR.
* pa.c (emit_move_sequence): Handle secondary reload when loading
a constant into SAR.
From-SVN: r8272
Ian Lance Taylor [Fri, 14 Oct 1994 15:56:20 +0000 (15:56 +0000)]
Fix X11/Intrinsic.h on RISCiX; add files to REQUIRED as needed
From-SVN: r8271
Richard Earnshaw [Fri, 14 Oct 1994 14:35:17 +0000 (14:35 +0000)]
Initial revision
From-SVN: r8270
Richard Earnshaw [Fri, 14 Oct 1994 14:33:55 +0000 (14:33 +0000)]
Define HAVE_GETWD
From-SVN: r8269
Richard Earnshaw [Fri, 14 Oct 1994 14:29:15 +0000 (14:29 +0000)]
Always use getwd if HAVE_GETWD is defined.
From-SVN: r8268
Jim Wilson [Thu, 13 Oct 1994 21:15:06 +0000 (14:15 -0700)]
(call, call_internal, call_value, call_value_internal):
Use memory_operand not general_operand.
From-SVN: r8267
Jim Wilson [Thu, 13 Oct 1994 21:12:07 +0000 (14:12 -0700)]
(expand_fix): Correct typo with FIX/UNSIGNED_FIX REG_NOTES.
From-SVN: r8266
Ian Lance Taylor [Thu, 13 Oct 1994 14:45:11 +0000 (14:45 +0000)]
Skip optimize_attrs if num_insn_ents is zero
From-SVN: r8265
Jim Wilson [Wed, 12 Oct 1994 23:05:49 +0000 (16:05 -0700)]
(mips_expand_prologue): Handle types that need constructing.
(mips_expand_prologue): Handle types that need
constructing. Rename TYPE to PASSED_TYPE and use consistently.
From-SVN: r8264
Jason Merrill [Wed, 12 Oct 1994 17:40:53 +0000 (17:40 +0000)]
*** empty log message ***
From-SVN: r8263
Jason Merrill [Wed, 12 Oct 1994 16:44:14 +0000 (16:44 +0000)]
Cast pointer arguments to bzero and bcopy to char *.
From-SVN: r8262
Ian Lance Taylor [Wed, 12 Oct 1994 15:31:29 +0000 (15:31 +0000)]
Allocate attr_value_list with xmalloc rather than alloca
From-SVN: r8261
Richard Kenner [Wed, 12 Oct 1994 13:17:28 +0000 (09:17 -0400)]
(??hf2_libfunc): Add declarations, like ??sf2_libfunc.
From-SVN: r8260
Richard Kenner [Wed, 12 Oct 1994 13:17:02 +0000 (09:17 -0400)]
(??hf2_libfunc): Define like ??sf2_libfunc.
(emit_float_lib_cmp): Call HFmode library functions.
(init_optabs): Set names for HFmode comparison functions.
From-SVN: r8259
Richard Kenner [Tue, 11 Oct 1994 23:20:43 +0000 (19:20 -0400)]
Remove -g from CFLAGS.
Reflect changes to t-winnt and other minor changes.
From-SVN: r8258
Richard Kenner [Tue, 11 Oct 1994 23:18:32 +0000 (19:18 -0400)]
(main): Pass -debug:full -debugtype:coff.
From-SVN: r8257
Richard Kenner [Tue, 11 Oct 1994 22:40:32 +0000 (18:40 -0400)]
(ASM_DECLARE_FUNCTION_NAME): Always put out .lglobl for static
functions.
From-SVN: r8256
Jason Merrill [Tue, 11 Oct 1994 18:43:39 +0000 (18:43 +0000)]
(type_unification): If not passing to a reference, strip cv-quals.
(type_unification): If not passing to a reference, strip
cv-quals. Also handle array->pointer conversion.
From-SVN: r8255
Jason Merrill [Tue, 11 Oct 1994 18:39:14 +0000 (18:39 +0000)]
(build_overload_call_real): Don't immediately do
array->pointer conversion.
From-SVN: r8254
Jason Merrill [Tue, 11 Oct 1994 18:39:14 +0000 (18:39 +0000)]
(do_build_copy_constructor): Handle anonymous unions.
(do_build_assign_ref): Ditto.
(largest_union_member): Move from lex.c.
From-SVN: r8253
Jason Merrill [Tue, 11 Oct 1994 18:39:14 +0000 (18:39 +0000)]
(resolve_offset_ref): Fix types used in resolving .*
expressions.
From-SVN: r8252
Jason Merrill [Tue, 11 Oct 1994 18:39:14 +0000 (18:39 +0000)]
(cons_up_default_function): Mark methods in a template class as template instances.
(cons_up_default_function): Mark methods in a template class
as template instances. Store the values of interface_unknown and
interface_only for do_pending_inlines.
(do_pending_inlines): Use them.
From-SVN: r8251
Jason Merrill [Tue, 11 Oct 1994 18:39:14 +0000 (18:39 +0000)]
(grokdeclarator): Don't warn about applying const to a const typedef or template type parameter.
(grokdeclarator): Don't warn about applying const to a
const typedef or template type parameter.
(shadow_tag): Remove obsolete code for pushing tags and
dealing with exceptions.
From-SVN: r8250
Jason Merrill [Tue, 11 Oct 1994 18:39:14 +0000 (18:39 +0000)]
Changes moved over
From-SVN: r8249
Richard Kenner [Mon, 10 Oct 1994 23:19:32 +0000 (19:19 -0400)]
(convert_move): Add TImode conversions.
From-SVN: r8248
Richard Kenner [Mon, 10 Oct 1994 22:46:30 +0000 (18:46 -0400)]
(expand_float): Copy TEMP to TARGET when making recursive call and
adjusting.
From-SVN: r8247
Michael Meissner [Mon, 10 Oct 1994 14:09:56 +0000 (14:09 +0000)]
Use DEFAULT_PCC_STRUCT_RETURN instead of RETURN_IN_MEMORY; include perform.h
From-SVN: r8246
Michael Meissner [Sun, 9 Oct 1994 18:48:38 +0000 (18:48 +0000)]
Make sure movsf_mem does not clobber a destination register
From-SVN: r8245
Richard Earnshaw [Sun, 9 Oct 1994 16:39:43 +0000 (16:39 +0000)]
(reload_outdf): Don't emit an add insn if the address is just a register.
From-SVN: r8244
Doug Evans [Sat, 8 Oct 1994 15:16:09 +0000 (15:16 +0000)]
archive.c (__objc_free): New function.
* objc/archive.c (__objc_free): New function.
(__objc_finish_read_root_object): Use it.
From-SVN: r8243
Doug Evans [Fri, 7 Oct 1994 23:27:46 +0000 (23:27 +0000)]
Netware uses _SIZE_T_DEFINED_, _WCHAR_T_DEFINED_.
From-SVN: r8242
Richard Kenner [Fri, 7 Oct 1994 23:15:50 +0000 (19:15 -0400)]
(CPP_PREDEFINES): Define __HURD__.
From-SVN: r8241
Richard Kenner [Fri, 7 Oct 1994 23:10:25 +0000 (19:10 -0400)]
(HAVE_STRERROR): Define.
From-SVN: r8240
Richard Kenner [Fri, 7 Oct 1994 23:09:12 +0000 (19:09 -0400)]
(my_strerror): If HAVE_STRERROR defined, call strerror.
From-SVN: r8239
Richard Kenner [Fri, 7 Oct 1994 20:13:58 +0000 (16:13 -0400)]
(preserve_temp_slots): If X cannot be a temp slot, preserve all things
whose address was taken at the present level.
From-SVN: r8238
Michael Meissner [Fri, 7 Oct 1994 19:45:00 +0000 (19:45 +0000)]
Do not allow SUBREGs as either base or index register.
From-SVN: r8237
Richard Kenner [Fri, 7 Oct 1994 12:36:00 +0000 (08:36 -0400)]
Fix typo in last change.
From-SVN: r8236
Richard Kenner [Fri, 7 Oct 1994 12:28:44 +0000 (08:28 -0400)]
(assign_stack_temp): Abort if SIZE == -1.
From-SVN: r8235
Richard Kenner [Fri, 7 Oct 1994 12:26:47 +0000 (08:26 -0400)]
(safe_from_p): If EXP has a variable size, assume safe.
(preexpand_calls): Don't preexpand a call that returns a variable-sized object.
From-SVN: r8234
Richard Kenner [Fri, 7 Oct 1994 12:24:36 +0000 (08:24 -0400)]
(add_insn_{after,before}): Fix error in last change.
From-SVN: r8233
Per Bothner [Fri, 7 Oct 1994 01:03:20 +0000 (18:03 -0700)]
Patch to handle old Convex systems (without uname).
From-SVN: r8232
Richard Kenner [Thu, 6 Oct 1994 21:38:35 +0000 (17:38 -0400)]
(cse_insn): Don't call force_const_mem on (const (truncate)).
From-SVN: r8231
Kresten Krab Thorup [Thu, 6 Oct 1994 16:24:03 +0000 (16:24 +0000)]
(BOOL): Changed from char to unsigned char.
From-SVN: r8230
Kresten Krab Thorup [Thu, 6 Oct 1994 16:17:38 +0000 (16:17 +0000)]
Delay eeing when unarchiving.
From-SVN: r8229
Stan Cox [Thu, 6 Oct 1994 15:13:26 +0000 (15:13 +0000)]
If operand1 is an invalid PIC address, then legitimize it before doing anything else.
From-SVN: r8228
Richard Kenner [Thu, 6 Oct 1994 11:25:21 +0000 (07:25 -0400)]
(store_expr): Don't clobber TEMP with address.
From-SVN: r8227
Richard Kenner [Thu, 6 Oct 1994 10:57:08 +0000 (06:57 -0400)]
(try_merge_delay_insns): Update THREAD if it is split.
From-SVN: r8226
Richard Kenner [Thu, 6 Oct 1994 10:53:40 +0000 (06:53 -0400)]
(expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken.
From-SVN: r8225
Richard Kenner [Thu, 6 Oct 1994 10:52:10 +0000 (06:52 -0400)]
(struct temp_slot): New field addr_taken.
(assign_stack_temp): Initialize it.
(mark_temp_addr_taken): New function.
(preserve_temp_slots): Decrement level of things at same level but whose
address has been taken.
From-SVN: r8224
Jason Merrill [Wed, 5 Oct 1994 23:08:12 +0000 (23:08 +0000)]
(fold, COMPONENT_REF): Don't die if the CONSTRUCTOR
doesn't initialize the field we want.
From-SVN: r8223
Michael Meissner [Wed, 5 Oct 1994 18:37:55 +0000 (18:37 +0000)]
Supprt LABEL_REFs when using -fpic.
From-SVN: r8222
Richard Kenner [Wed, 5 Oct 1994 10:56:25 +0000 (06:56 -0400)]
(try_merge_delay_insns): Update THREAD if deleting first insn in it.
From-SVN: r8221
Roland McGrath [Wed, 5 Oct 1994 05:39:47 +0000 (05:39 +0000)]
Move #include <fcntl.h> out of here, into xm-gnu.h.
From-SVN: r8220
Roland McGrath [Wed, 5 Oct 1994 05:30:42 +0000 (05:30 +0000)]
Initial revision
From-SVN: r8219
Ian Lance Taylor [Wed, 5 Oct 1994 03:20:19 +0000 (03:20 +0000)]
Include <sys/wait.h> on a POSIX system
From-SVN: r8218
Michael Bushnell [Wed, 5 Oct 1994 01:52:40 +0000 (01:52 +0000)]
Define O_RDONLY if not already defined and use it in read_specs's call
to open.
From-SVN: r8217
Michael Bushnell [Wed, 5 Oct 1994 01:49:05 +0000 (01:49 +0000)]
Include <fcntl.h>.
From-SVN: r8216
Richard Kenner [Wed, 5 Oct 1994 01:42:54 +0000 (21:42 -0400)]
Fix error in last change.
From-SVN: r8215
Richard Kenner [Tue, 4 Oct 1994 23:06:09 +0000 (19:06 -0400)]
(do_jump_for_compare): Properly scan insns when branch is at start of
sequence.
From-SVN: r8214
Ian Lance Taylor [Tue, 4 Oct 1994 20:53:02 +0000 (20:53 +0000)]
If the POSIX.1 wait macros are defined, use them.
From-SVN: r8213
Michael Meissner [Tue, 4 Oct 1994 20:47:05 +0000 (20:47 +0000)]
Fix return complex doubles with -fpic clobbering %ebx
From-SVN: r8212
Jim Wilson [Tue, 4 Oct 1994 19:57:51 +0000 (12:57 -0700)]
(PREFERRED_DEBUGGING_INFO): Add undef before define.
From-SVN: r8211
Richard Stallman [Tue, 4 Oct 1994 09:12:29 +0000 (09:12 +0000)]
Translate -gnu/linux* to -linux*.
From-SVN: r8210
Ian Lance Taylor [Mon, 3 Oct 1994 15:43:16 +0000 (15:43 +0000)]
Add support for MIPS variants
From-SVN: r8209
Roland McGrath [Mon, 3 Oct 1994 05:48:44 +0000 (05:48 +0000)]
Recognize GNU.
From-SVN: r8208
Richard Kenner [Mon, 3 Oct 1994 00:44:08 +0000 (20:44 -0400)]
Complete last change.
From-SVN: r8207
Jason Merrill [Sun, 2 Oct 1994 23:17:08 +0000 (23:17 +0000)]
(save_tree_status): Add argument to indicate that the new function is not a nested function.
(save_tree_status): Add argument to indicate that the new
function is not a nested function.
(restore_tree_status): Ditto.
From-SVN: r8206
Jason Merrill [Sun, 2 Oct 1994 23:16:51 +0000 (23:16 +0000)]
ontext, adds argument to indicate that the new function is not a nested function.
ontext, adds argument to indicate that the new
function is not a nested function.
(push_function_context): Call it.
(pop_function_context{,_from}): Similarly.
From-SVN: r8205
Richard Kenner [Sun, 2 Oct 1994 19:17:43 +0000 (15:17 -0400)]
(subst_stack_regs): Check for NOTE to see if insn was deleted.
From-SVN: r8204
Richard Kenner [Sun, 2 Oct 1994 18:58:47 +0000 (14:58 -0400)]
(fill_slots_from_thread): Update THREAD if deleting its first insn.
From-SVN: r8203
Richard Earnshaw [Sun, 2 Oct 1994 15:11:02 +0000 (15:11 +0000)]
(zero_extendhisi2, extendhisi2): Expand to suitable byte sequence when TARGET_SHORT_BYTES and loading a mem.
(zero_extendhisi2, extendhisi2): Expand to suitable byte sequence when
TARGET_SHORT_BYTES and loading a mem.
(movhi_bytes, extendhisi2_mem): New expands.
(movhi): Call movhi_bytes to load a short from memory if
TARGET_SHORT_BY_BYTES.
(all matchers loading a short from memory): Don't match if
TARGET_SHORT_BY_BYTES.
(matcher for movhi when TARGET_SHORT_BY_BYTES): New pattern to cover
remaining legal cases.
From-SVN: r8202
Richard Earnshaw [Sun, 2 Oct 1994 15:10:48 +0000 (15:10 +0000)]
(arm_reload_in_hi): New function.
From-SVN: r8201
Richard Earnshaw [Sun, 2 Oct 1994 15:10:27 +0000 (15:10 +0000)]
(TARGET_SHORT_BY_BYTES): New macro.
(TARGET_SWITCHES): Recognize switches -m[no-]short-load-bytes.
(TARGET_DEFAULT): Only define if not already done so.
(PROMOTE_MODE): Promote HImode unsigned if TARGET_SHORT_BY_BYTES.
(SECONDARY_INPUT_RELOAD_CLASS): Need a scratch for reloading HImode if
TARGET_SHORT_BY_BYTES.
From-SVN: r8200
Richard Earnshaw [Sun, 2 Oct 1994 14:25:07 +0000 (14:25 +0000)]
(movsf): If reloading, create a scratch from the target for loading a constant into integer regs.
(movsf): If reloading, create a scratch from the target for loading a
constant into integer regs.
(movdf): Likewise..
From-SVN: r8199
Richard Kenner [Sun, 2 Oct 1994 12:54:22 +0000 (08:54 -0400)]
(delete_insn_for_stacker): Don't set INSN_DELETED_P on
NOTE_INSN_DELETED.
From-SVN: r8198
Richard Kenner [Sun, 2 Oct 1994 00:42:28 +0000 (20:42 -0400)]
(CC, OLDCC, RCCFLAGS, CCLIBFLAGS, CLIB, ALLOCA): From x-sco.
(X_CFLAGS): Remove.
From-SVN: r8197
Richard Kenner [Sun, 2 Oct 1994 00:42:09 +0000 (20:42 -0400)]
(CLIB): Add "-lmalloc".
(ALLOCA): Define as "-lPW".
From-SVN: r8196
Richard Kenner [Sun, 2 Oct 1994 00:41:51 +0000 (20:41 -0400)]
(CPP_PREDEFINES): Remove i386, unix.
(CPP_SPEC): Add them here, so that they're undefined if -ansi.
Also add _i386 and _unix, which are always defined.
From-SVN: r8195
Richard Kenner [Sun, 2 Oct 1994 00:35:09 +0000 (20:35 -0400)]
(jump_optimize): When deleting a jump, properly set NEXT.
(duplicate_loop_exit_test): Don't insety NOTE_INSN_LOOP_VTOP before deleted
insn; insert first, then delete.
From-SVN: r8194
Richard Kenner [Sun, 2 Oct 1994 00:34:45 +0000 (20:34 -0400)]
(add_insn_{before,after}): Abort if insertion point is a deleted insn.
From-SVN: r8193
Michael Meissner [Sat, 1 Oct 1994 18:27:23 +0000 (18:27 +0000)]
Prefer float registers for movdf.
From-SVN: r8192
Richard Earnshaw [Sat, 1 Oct 1994 10:58:44 +0000 (10:58 +0000)]
(shadow_label): Emit an error if the label is already
declared at this label scope.
From-SVN: r8191
Richard Kenner [Sat, 1 Oct 1994 10:44:43 +0000 (06:44 -0400)]
Install omitted hunk from last diff.
From-SVN: r8190
Doug Evans [Sat, 1 Oct 1994 03:57:21 +0000 (03:57 +0000)]
(process_command): Fix typo.
From-SVN: r8189
Richard Kenner [Fri, 30 Sep 1994 22:26:03 +0000 (18:26 -0400)]
(add_insn_after): Abort if can't find AFTER and it has no NEXT_INSN.
(add_insn_before): New function.
(emit_{insn,insns,jump_insn,call_insn,barrier,note}_before): Call it.
From-SVN: r8188
Richard Kenner [Fri, 30 Sep 1994 21:33:35 +0000 (17:33 -0400)]
Initial revision
From-SVN: r8187
Richard Kenner [Fri, 30 Sep 1994 21:32:04 +0000 (17:32 -0400)]
(output_387_binary_op): Use AS2C instead of AS2 with null first arg.
From-SVN: r8186
Richard Kenner [Fri, 30 Sep 1994 21:31:44 +0000 (17:31 -0400)]
Treat ALMOST_STDC like __STDC__.
(AS2C): New macro.
From-SVN: r8185
Richard Kenner [Fri, 30 Sep 1994 21:31:09 +0000 (17:31 -0400)]
Don't include sys/file.h for winnt; use process.h instead.
(concat): Now just concats two things; all callers changed.
(concat[346]): New functions.
(dir_separator_str): New variable.
(exec_prefixes, startfile_prefixes, include_prefixes): Renamed from same names
without plural; all users changed.
(find_a_file, process_command, do_spec_1): Use DIR_SEPARATOR.
(find_file, is_directory, main): Likewise.
(lookup_compiler): If OS/2, do case-independent search.
(fix_argv): New function on winnt.
(FIX_ARGV): New macro for some systems; use instead of argv.
From-SVN: r8184
Richard Kenner [Fri, 30 Sep 1994 21:30:07 +0000 (17:30 -0400)]
(main): Use DIR_SEPARATOR if defined.
Use "Include" environment variable instead of CPATH for winnt.
From-SVN: r8183
Richard Kenner [Fri, 30 Sep 1994 21:29:38 +0000 (17:29 -0400)]
Don't include times.h for winnt.
(get_run_time): Just return zero for winnt.
(main): Don't print memory usage for OS/2 or winnt.
From-SVN: r8182
Richard Kenner [Fri, 30 Sep 1994 21:29:14 +0000 (17:29 -0400)]
Don't include syms.h for winnt.
From-SVN: r8181