Commit Graph

8290 Commits

Author SHA1 Message Date
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
Richard Kenner
a864776614 Update comment.
From-SVN: r8283
1994-10-17 11:30:22 -04:00
Richard Earnshaw
ca72f752bf (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
1994-10-17 13:25:38 +00:00
Richard Earnshaw
6782074d40 (add_insn_{before,after}): Don't abort if AFTER was deleted, but not
optiimzing

From-SVN: r8281
1994-10-16 09:01:26 +00:00
Mike Stump
13306d4f8f move a few important patches (this offset calculations for vtables).
From-SVN: r8280
1994-10-15 17:19:19 +00:00
Jason Merrill
13fbb03818 (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
1994-10-15 00:32:58 +00:00
Jason Merrill
c6a29b1f9d (real_yylex): Use HOST_BITS_PER_WIDE_INT to determine the
bitmask for lexing character constants.

From-SVN: r8278
1994-10-15 00:32:58 +00:00
Jason Merrill
cf2ac46f18 (type_promotes_to): Also promote enums to long if
appropriate.

From-SVN: r8277
1994-10-15 00:32:58 +00:00
Jason Merrill
fffba94c90 (default_conversion): Don't expect type_promotes_to to
return a main variant.

From-SVN: r8276
1994-10-15 00:32:58 +00:00
Jason Merrill
2f4f907dcc *** empty log message ***
From-SVN: r8275
1994-10-15 00:32:58 +00:00
Jason Merrill
a5c2941b8a (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
1994-10-15 00:32:58 +00:00
Jason Merrill
f37f4651e1 (build_decl_overload): Set numeric_outputed_need_bar to 0.
From-SVN: r8273
1994-10-15 00:32:58 +00:00
Jeff Law
2c51d187e0 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
1994-10-14 17:27:02 -06:00
Ian Lance Taylor
7a0934e7eb Fix X11/Intrinsic.h on RISCiX; add files to REQUIRED as needed
From-SVN: r8271
1994-10-14 15:56:20 +00:00
Richard Earnshaw
ca628c540b Initial revision
From-SVN: r8270
1994-10-14 14:35:17 +00:00
Richard Earnshaw
6cda9f97bc Define HAVE_GETWD
From-SVN: r8269
1994-10-14 14:33:55 +00:00
Richard Earnshaw
82f25f57c4 Always use getwd if HAVE_GETWD is defined.
From-SVN: r8268
1994-10-14 14:29:15 +00:00
Jim Wilson
3a6f717720 (call, call_internal, call_value, call_value_internal):
Use memory_operand not general_operand.

From-SVN: r8267
1994-10-13 14:15:06 -07:00
Jim Wilson
34ef5aeb7d (expand_fix): Correct typo with FIX/UNSIGNED_FIX REG_NOTES.
From-SVN: r8266
1994-10-13 14:12:07 -07:00