Jason Merrill [Thu, 20 Oct 1994 20:53:07 +0000 (20:53 +0000)]
(STARTFILE_SPEC): Wrap startfiles in %{!shared:}.
From-SVN: r8325
Jim Wilson [Thu, 20 Oct 1994 20:33:42 +0000 (13:33 -0700)]
(loop_iterations): Move all failure exits after the computation of final_value.
From-SVN: r8324
Jim Wilson [Thu, 20 Oct 1994 20:22:08 +0000 (13:22 -0700)]
(movdf_internal2+1): Disable when TARGET_64BIT.
From-SVN: r8323
Jim Wilson [Thu, 20 Oct 1994 20:14:46 +0000 (13:14 -0700)]
(VARARGS_STDARG_FUNCTION): New macro.
(i960_function_name_declare, output_function_profiler,
i960_function_epilogue, i960_output_call_insn, i960_output_ret_insn,
i960_reg_parm_stack_space): Use it.
(compute_frame_size): Don't use current_function_pretend_args_size.
(i960_function_arg_advance, i960_function_arg): Don't use parameter
named.
(i960_setup_incoming_varargs): No need to adjust first_reg_offset
after setting it. Don't save last named argument to stack.
Don't set pretend_size.
From-SVN: r8322
Jim Wilson [Thu, 20 Oct 1994 20:13:22 +0000 (13:13 -0700)]
(SIGNED_CHAR_SPEC): Use #if instead of ?:.
From-SVN: r8321
Jim Wilson [Thu, 20 Oct 1994 20:12:14 +0000 (13:12 -0700)]
(va_start): Use builtin_arts_info instead of builtin_next_arg.
From-SVN: r8320
Jim Wilson [Thu, 20 Oct 1994 20:06:59 +0000 (13:06 -0700)]
(merge_equiv_classes, cse_insn): Call rehash_using_reg after insert_regs.
(merge_equiv_classes, cse_insn): Call rehash_using_reg
after insert_regs.
(canon_hash): Don't use qty_const to compute hash code for a
register.
From-SVN: r8319
Richard Kenner [Thu, 20 Oct 1994 13:41:46 +0000 (09:41 -0400)]
(variable_size): Return SIZE if it contains a PLACEHOLDER_EXPR.
From-SVN: r8318
Jason Merrill [Wed, 19 Oct 1994 22:09:20 +0000 (22:09 +0000)]
(scan_prog_file): Call COLLECT_QUALIFY_MATCH to do target-specific checking of the suitability of a match.
(scan_prog_file): Call COLLECT_QUALIFY_MATCH to do
target-specific checking of the suitability of a match.
(main): Check REAL_*_FILE_NAME first.
From-SVN: r8317
Jason Merrill [Wed, 19 Oct 1994 22:09:20 +0000 (22:09 +0000)]
(NM_FLAGS): Define to "-h" (SysV output, no header).
(COLLECT_QUALIFY_MATCH): Define to ignore all symbols of types other
than code.
(REAL_NM_FILE_NAME): Define to "/bin/nm" to force use of the vendor nm.
From-SVN: r8316
Michael Meissner [Wed, 19 Oct 1994 20:51:33 +0000 (20:51 +0000)]
Fix -fpic -a problems.
From-SVN: r8315
David J. MacKenzie [Wed, 19 Oct 1994 19:55:36 +0000 (19:55 +0000)]
Add licensing exception for Autoconf.
From-SVN: r8314
Michael Meissner [Wed, 19 Oct 1994 13:43:04 +0000 (13:43 +0000)]
Do not preserve eax for -fpic in FUNCTION_BLOCK_PROFILER since it is call clobbered.
From-SVN: r8313
Michael Meissner [Wed, 19 Oct 1994 00:58:49 +0000 (00:58 +0000)]
Move block profile support to i386.h
From-SVN: r8312
Doug Evans [Wed, 19 Oct 1994 00:52:12 +0000 (00:52 +0000)]
(sparc_flat_output_function_prologue): Fix nit in assembler comment,
count regs as 4 byte registers.
From-SVN: r8311
Doug Evans [Wed, 19 Oct 1994 00:27:08 +0000 (00:27 +0000)]
sparc.c (sparc_frame_info): Combine members gp_sp_offset and fp_sp_offset into reg_offset.
* sparc.c (sparc_frame_info): Combine members gp_sp_offset and
fp_sp_offset into reg_offset. All uses changed.
(RETURN_ADDR_REGNUM): New macro.
(RETURN_ADDR_MASK, FRAME_POINTER_MASK): New macros.
(sparc_flat_compute_frame_info): Rename local mask to gmask.
Only ensure reg save area is 8 byte aligned if necessary.
(sparc_flat_save_restore): New arguments base_reg, offset, gmask,
and fmask. All callers changed. No longer use %g2 to save regs
in big stack frame.
(sparc_flat_output_function_prologue): Delete local tsize.
Reorder storing of previous frame pointer and return address reg to
make it easier for gdb to identify flat functions. Decrement %sp
twice when saving call-saved regs in big frames.
(sparc_flat_output_function_epilogue): Likewise when restoring
call-saved regs.
From-SVN: r8310
Doug Evans [Wed, 19 Oct 1994 00:25:57 +0000 (00:25 +0000)]
(FRAME_POINTER_REQUIRED): Require frame pointer if
non-leaf flat function.
From-SVN: r8309
Richard Kenner [Tue, 18 Oct 1994 23:33:35 +0000 (19:33 -0400)]
(reload): Correctly compute group additional needs when the return
register cannot be used as a spill register.
From-SVN: r8308
Richard Kenner [Tue, 18 Oct 1994 23:29:31 +0000 (19:29 -0400)]
Minor update to last change.
From-SVN: r8307
Richard Kenner [Tue, 18 Oct 1994 23:26:27 +0000 (19:26 -0400)]
Revise support for AIX 4.1 on POWER and PowerPC.
From-SVN: r8306
Richard Kenner [Tue, 18 Oct 1994 23:10:20 +0000 (19:10 -0400)]
(can_combine_p): Don't combine into CALL_INSN where DEST is a global
reg.
From-SVN: r8305
Richard Kenner [Tue, 18 Oct 1994 23:09:53 +0000 (19:09 -0400)]
(propagate_block): Call mark_used_regs to show global regs used by
call.
From-SVN: r8304
Jim Wilson [Tue, 18 Oct 1994 20:16:54 +0000 (13:16 -0700)]
(ASM_SPEC): Pass -mcpu= option to GNU as.
From-SVN: r8303
Richard Kenner [Tue, 18 Oct 1994 19:42:11 +0000 (15:42 -0400)]
(start_function): Save immediate_size_expand and initialize it to zero
in case nested function.
From-SVN: r8302
Richard Kenner [Tue, 18 Oct 1994 12:39:40 +0000 (08:39 -0400)]
Remove previous change.
(reload_{in,out}*): Replace general_operand with non_hard_reg_operand.
From-SVN: r8301
Richard Kenner [Tue, 18 Oct 1994 12:38:54 +0000 (08:38 -0400)]
(non_hard_reg_operand): New function.
From-SVN: r8300
Jason Merrill [Tue, 18 Oct 1994 06:58:28 +0000 (06:58 +0000)]
Fix comment
From-SVN: r8299
Jeff Law [Tue, 18 Oct 1994 04:14:19 +0000 (22:14 -0600)]
pa.md (reload_insi, [...]): Expanders deleted.
* pa.md (reload_insi, reload_outsi): Expanders deleted.
(reload_indf, reload_outdf, reload_indi, reload_outdi): Likewise.
(reload_insf, reload_outsf): Likewise.
From-SVN: r8298
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