Commit Graph

8308 Commits

Author SHA1 Message Date
Jason Merrill
efc955c77f (LIB2FUNCS): Add _pure.
From-SVN: r8333
1994-10-21 19:14:08 +00:00
Jason Merrill
ea5df1fd4c (__pure_virtual): New function to go into vtable
entries for pure virtual methods instead of abort.

From-SVN: r8332
1994-10-21 19:14:08 +00:00
Per Bothner
3f9b192d28 Better NCR support.
From-SVN: r8331
1994-10-20 18:50:59 -07:00
Richard Kenner
80728f83db (define_split comparison op with power of two minus 1): Fix typo.
From-SVN: r8330
1994-10-20 18:40:25 -04:00
Jason Merrill
f85fd079f1 Back out previous change.
From-SVN: r8329
1994-10-20 22:06:20 +00:00
Jason Merrill
0393b857b1 (add_to_list): Check for duplicates.
From-SVN: r8328
1994-10-20 22:06:20 +00:00
Jason Merrill
5a841e0710 (LINK_SPEC): Pass -shared through; don't
pass -init __main if -shared.

From-SVN: r8327
1994-10-20 21:52:05 +00:00
Jason Merrill
f987462f48 (LINK_SPEC): Pass -shared through; don't pass -init __main if -shared.
(LINK_SPEC): Pass -shared through; don't
        pass -init __main if -shared.
        (STARTFILE_SPEC): Wrap startfiles in %{!shared:}.
        (INIT_NAME_FORMAT): Define.
        (FINI_NAME_FORMAT): Define.

From-SVN: r8326
1994-10-20 21:52:05 +00:00
Jason Merrill
d1e04478b0 (STARTFILE_SPEC): Wrap startfiles in %{!shared:}.
From-SVN: r8325
1994-10-20 20:53:07 +00:00
Jim Wilson
00c0c63c8a (loop_iterations): Move all failure exits after the computation of final_value.
From-SVN: r8324
1994-10-20 13:33:42 -07:00
Jim Wilson
2c14c928e7 (movdf_internal2+1): Disable when TARGET_64BIT.
From-SVN: r8323
1994-10-20 13:22:08 -07:00
Jim Wilson
c25d3f2094 (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
1994-10-20 13:14:46 -07:00
Jim Wilson
0f1d97b8f6 (SIGNED_CHAR_SPEC): Use #if instead of ?:.
From-SVN: r8321
1994-10-20 13:13:22 -07:00
Jim Wilson
086675cba3 (va_start): Use builtin_arts_info instead of builtin_next_arg.
From-SVN: r8320
1994-10-20 13:12:14 -07:00
Jim Wilson
8ae2b8f6f1 (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
1994-10-20 13:06:59 -07:00
Richard Kenner
e5852cffc2 (variable_size): Return SIZE if it contains a PLACEHOLDER_EXPR.
From-SVN: r8318
1994-10-20 09:41:46 -04:00
Jason Merrill
90d326bda2 (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
1994-10-19 22:09:20 +00:00
Jason Merrill
f311b28076 (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
1994-10-19 22:09:20 +00:00
Michael Meissner
05ca35c718 Fix -fpic -a problems.
From-SVN: r8315
1994-10-19 20:51:33 +00:00
David J. MacKenzie
a523d8009d Add licensing exception for Autoconf.
From-SVN: r8314
1994-10-19 19:55:36 +00:00
Michael Meissner
8ecf187aa4 Do not preserve eax for -fpic in FUNCTION_BLOCK_PROFILER since it is call clobbered.
From-SVN: r8313
1994-10-19 13:43:04 +00:00
Michael Meissner
1cf5eda8f8 Move block profile support to i386.h
From-SVN: r8312
1994-10-19 00:58:49 +00:00
Doug Evans
9f8b85b872 (sparc_flat_output_function_prologue): Fix nit in assembler comment,
count regs as 4 byte registers.

From-SVN: r8311
1994-10-19 00:52:12 +00:00
Doug Evans
86735b02f2 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
1994-10-19 00:27:08 +00:00
Doug Evans
a061b9fa1b (FRAME_POINTER_REQUIRED): Require frame pointer if
non-leaf flat function.

From-SVN: r8309
1994-10-19 00:25:57 +00:00
Richard Kenner
af432130ae (reload): Correctly compute group additional needs when the return
register cannot be used as a spill register.

From-SVN: r8308
1994-10-18 19:33:35 -04:00
Richard Kenner
aeb4bd7d6e Minor update to last change.
From-SVN: r8307
1994-10-18 19:29:31 -04:00
Richard Kenner
0105761aea Revise support for AIX 4.1 on POWER and PowerPC.
From-SVN: r8306
1994-10-18 19:26:27 -04:00
Richard Kenner
4dca5ec5b8 (can_combine_p): Don't combine into CALL_INSN where DEST is a global
reg.

From-SVN: r8305
1994-10-18 19:10:20 -04:00
Richard Kenner
9b316aa2e6 (propagate_block): Call mark_used_regs to show global regs used by
call.

From-SVN: r8304
1994-10-18 19:09:53 -04:00
Jim Wilson
2507a2764d (ASM_SPEC): Pass -mcpu= option to GNU as.
From-SVN: r8303
1994-10-18 13:16:54 -07:00
Richard Kenner
5415b705f4 (start_function): Save immediate_size_expand and initialize it to zero
in case nested function.

From-SVN: r8302
1994-10-18 15:42:11 -04:00
Richard Kenner
0fc4f91130 Remove previous change.
(reload_{in,out}*): Replace general_operand with non_hard_reg_operand.

From-SVN: r8301
1994-10-18 08:39:40 -04:00
Richard Kenner
8a149902a7 (non_hard_reg_operand): New function.
From-SVN: r8300
1994-10-18 08:38:54 -04:00
Jason Merrill
fadb3bc9b5 Fix comment
From-SVN: r8299
1994-10-18 06:58:28 +00:00
Jeff Law
5c162a8a5c 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
1994-10-17 22:14:19 -06:00
Jason Merrill
bccef0116a (default_compilers): Treat files with an extension of .c++
as C++ code.

From-SVN: r8297
1994-10-18 00:33:02 +00:00
Jim Wilson
ce883c1f84 (va_arg): Add little endian mips3 support.
From-SVN: r8296
1994-10-17 16:29:38 -07:00
Jim Wilson
686667bf14 (RETURN_IN_MEMORY): Return true for TCmode values.
From-SVN: r8295
1994-10-17 16:27:38 -07:00
Jim Wilson
af17303111 (function_prologue): Only emit line number when SDB_DEBUG.
From-SVN: r8294
1994-10-17 16:22:07 -07:00
Richard Kenner
827563977e Initial revision
From-SVN: r8293
1994-10-17 19:21:51 -04:00
Richard Kenner
a22b68f157 Add support for AIX 4.1 and architecture.
From-SVN: r8292
1994-10-17 19:16:35 -04:00
Per Bothner
f733963397 * function.c (current_function_outgoing_args_size): Update comment.
From-SVN: r8291
1994-10-17 16:09:35 -07:00
Per Bothner
26a258fee2 (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
1994-10-17 16:08:37 -07:00
Mike Stump
c199879dc7 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
1994-10-17 23:06:49 +00:00
Mike Stump
f675499c88 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
1994-10-17 23:01:46 +00:00
Richard Kenner
02c1d408e2 (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
1994-10-17 18:47:09 -04:00
Noah Friedman
305243a443 Initial revision
From-SVN: r8286
1994-10-17 14:46:15 -04:00
Richard Kenner
5e03c15616 (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
1994-10-17 11:31:23 -04:00
Richard Kenner
94bba16f3d (gen_reload): Renamed from gen_input_reload.
From-SVN: r8284
1994-10-17 11:30:49 -04:00