Jason Merrill [Tue, 18 Oct 1994 00:33:02 +0000 (00:33 +0000)]
(default_compilers): Treat files with an extension of .c++
as C++ code.
From-SVN: r8297
Jim Wilson [Mon, 17 Oct 1994 23:29:38 +0000 (16:29 -0700)]
(va_arg): Add little endian mips3 support.
From-SVN: r8296
Jim Wilson [Mon, 17 Oct 1994 23:27:38 +0000 (16:27 -0700)]
(RETURN_IN_MEMORY): Return true for TCmode values.
From-SVN: r8295
Jim Wilson [Mon, 17 Oct 1994 23:22:07 +0000 (16:22 -0700)]
(function_prologue): Only emit line number when SDB_DEBUG.
From-SVN: r8294
Richard Kenner [Mon, 17 Oct 1994 23:21:51 +0000 (19:21 -0400)]
Initial revision
From-SVN: r8293
Richard Kenner [Mon, 17 Oct 1994 23:16:35 +0000 (19:16 -0400)]
Add support for AIX 4.1 and architecture.
From-SVN: r8292
Per Bothner [Mon, 17 Oct 1994 23:09:35 +0000 (16:09 -0700)]
* function.c (current_function_outgoing_args_size): Update comment.
From-SVN: r8291
Per Bothner [Mon, 17 Oct 1994 23:08:37 +0000 (16:08 -0700)]
(expand_call, emit_library_call, emit_library_call_value):
Allways adjust current_function_outgoing_args_size, even #ifndef
ACCUMULATE_OUTGOING_ARGS. (Useful for stack overflow checking.)
From-SVN: r8290
Mike Stump [Mon, 17 Oct 1994 23:06:49 +0000 (23:06 +0000)]
except.c (expand_start_catch_block): Make sure the false label gets onto the permanent obstack...
* except.c (expand_start_catch_block): Make sure the false label
gets onto the permanent obstack, as it is used for the exception
table.
From-SVN: r8289
Mike Stump [Mon, 17 Oct 1994 23:01:46 +0000 (23:01 +0000)]
except.c (expand_start_catch_block): Make sure the false label gets onto the permanent obstack...
* except.c (expand_start_catch_block): Make sure the false label
gets onto the permanent obstack, as it is used for the exception
table.
From-SVN: r8288
Richard Kenner [Mon, 17 Oct 1994 22:47:09 +0000 (18:47 -0400)]
(rescan): Preserve newlines after macro names at the top level since this is...
(rescan): Preserve newlines after macro names at the top level since
this is more likely to do the right thing with line numbers.
From-SVN: r8287
Noah Friedman [Mon, 17 Oct 1994 18:46:15 +0000 (14:46 -0400)]
Initial revision
From-SVN: r8286
Richard Kenner [Mon, 17 Oct 1994 15:31:23 +0000 (11:31 -0400)]
(gen_reload): Renamed from gen_input_reload.
(emit_reload_insns): Delete SECONDARY_MEM_NEEDED case for input reloads that
can't happen and doesn't work.
Fix errors in use of reload_outxx insns.
Simplify output reload code by using gen_reload.
From-SVN: r8285
Richard Kenner [Mon, 17 Oct 1994 15:30:49 +0000 (11:30 -0400)]
(gen_reload): Renamed from gen_input_reload.
From-SVN: r8284
Richard Kenner [Mon, 17 Oct 1994 15:30:22 +0000 (11:30 -0400)]
Update comment.
From-SVN: r8283
Richard Earnshaw [Mon, 17 Oct 1994 13:25:38 +0000 (13:25 +0000)]
(copy_loop_body, case JUMP_INSN): Don't abort if invert_exp fails.
(copy_loop_body, case JUMP_INSN): Don't abort if invert_exp
fails. Instead, redirect the jump around an unconditional branch.
From-SVN: r8282
Richard Earnshaw [Sun, 16 Oct 1994 09:01:26 +0000 (09:01 +0000)]
(add_insn_{before,after}): Don't abort if AFTER was deleted, but not
optiimzing
From-SVN: r8281
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