Commit Graph

5763 Commits

Author SHA1 Message Date
Jeff Law f1c7ce822f pa.c (legitimize_pic_address): Delete unused variables.
* pa.c (legitimize_pic_address): Delete unused variables.
	(output_block_move, output_ior): Likewise.
	(hppa_builtin_saveregs): Likewise.
	(emit_move_sequence): Add parens as suggested by -Wall.
	(compute_frame_size): Likewise.
	(output_ascii): Return type is "void".
	(hppa_expand_prologue, import_milli): Likewise.

From-SVN: r5726
1993-10-10 21:23:10 -06:00
Richard Stallman bf0add700f (stmt): Don't call default_conversion on top-level expressions.
From-SVN: r5725
1993-10-11 03:04:47 +00:00
Richard Stallman f1a2b9559f (start_init): Don't set require_constant_elements for scalar types.
(convert_for_assignment): Allow silent conversion to
a pointer from an integer 0 that resulted from arithmetic.

From-SVN: r5724
1993-10-11 03:04:15 +00:00
Richard Stallman ecbc469542 (save_386_machine_status): New functions.
(restore_386_machine_status)
(save_386_machine_status): New functions.
(clear_386_stack_locals): Store those functions in
save_machine_status, restore_machine_status.
(struct machine_function): New structure definition.

From-SVN: r5723
1993-10-11 03:03:34 +00:00
Richard Stallman d6e1b011e1 (struct function): New field `machine'.
From-SVN: r5722
1993-10-11 03:03:17 +00:00
Richard Stallman 467664666a (save_machine_status, restore_machine_status): New vars.
(push_function_context, pop_function_context): Use them.

From-SVN: r5721
1993-10-11 03:02:46 +00:00
Richard Stallman b756098953 (enum pragma_state): Defined.
From-SVN: r5720
1993-10-11 03:02:24 +00:00
Richard Stallman a9456cd320 (asctoeg): Fix backward condition in last change.
From-SVN: r5719
1993-10-11 03:00:41 +00:00
Jeff Law e8cfae5c8e pa.c (output_function_prologue): Pass the highest register number saved for ENTRY_GR and ENTRY_FR directives...
* pa.c (output_function_prologue):  Pass the highest register
	number saved for ENTRY_GR and ENTRY_FR directives rather
	than the number	of registers saved.
	(hppa_expand_prologue):  Account for %r4 when it's being
	used as a frame pointer.

From-SVN: r5718
1993-10-10 20:32:35 -06:00
Richard Stallman 0d69ab6fee (emit_stack_save): Cast enum array index to int.
From-SVN: r5717
1993-10-11 01:12:06 +00:00
Richard Kenner a5da0afee5 (ALPHA_COSTS): Add missing arg to call to rtx_cost.
From-SVN: r5716
1993-10-10 19:29:16 -04:00
Richard Kenner 4c002f291a (force_to_mode, case ASHIFTRT): Verify that result of making a
LSHIFTRT remains a shift.

From-SVN: r5715
1993-10-10 19:18:18 -04:00
Richard Kenner 4da73fa0ba (put_reg_into_stack): Allocate fixup structure in saveable obstack.
From-SVN: r5714
1993-10-10 17:10:48 -04:00
Richard Kenner 19e7d35474 (save_tree_status): Function_maybepermanent_obstack is the function_obstack of parent function.
(save_tree_status): Function_maybepermanent_obstack is the function_obstack
of parent function.
(restore_tree_status): Only free objects later than maybepermanent_firstobj in
function_maybepermanent_obstack.
(make_node): Fix logic error in PARM_DECL code.
Put PARM_DECL in parent function's saveable obstack.

From-SVN: r5713
1993-10-10 17:10:19 -04:00
Richard Kenner 1ad87b6329 (expand_assignment): Don't short circuit store_expr when TO is a
VAR_DECL since it needs special handling if promoted.

From-SVN: r5712
1993-10-10 17:06:36 -04:00
Richard Earnshaw abaa26e5b4 (const_ok_for_arm): cast constants to unsigned HOST_WIDE_INT.
(output_prologue): Sanity check the finite state machine.
(output_epilogue): Delete unused variable.
(final_prescan_insn): Always clear arm_target_insn when FSM goes to
state 0.

From-SVN: r5711
1993-10-10 16:46:52 +00:00
Richard Earnshaw 2656358643 (OPTIMIZATION_OPTIONS): Don't set flag_omit_frame_pointer, since this inhibits debugging.
(OPTIMIZATION_OPTIONS): Don't set flag_omit_frame_pointer, since
this inhibits debugging.
(ASM_OUTPUT_INTERNAL_LABEL): Always clear arm_target_insn when FSM
goes to state 0.

From-SVN: r5710
1993-10-10 16:46:52 +00:00
Richard Kenner ff12fdac9b (subst, case SUREG):Only call force_to_mode if both inner and output
modes are MODE_INT.

From-SVN: r5709
1993-10-10 10:57:01 -04:00
Richard Kenner 888184ea7e (WORD_ALIGN): Fix typo in last change.
From-SVN: r5708
1993-10-10 08:58:10 -04:00
Richard Kenner 9b69f523a7 (check_format_info): Support X/Open formats like "%1$d".
From-SVN: r5707
1993-10-10 08:56:49 -04:00
Richard Stallman 02490c738e Move alloca handling before bytecode construction so that VAX C won't need two different values for LIBS.
Move alloca handling before bytecode construction
so that VAX C won't need two different values for LIBS.  Eliminate a
comment about make-like functionality that referred to a capability
which has not been implemented.

From-SVN: r5706
1993-10-10 05:31:33 +00:00
Richard Stallman 4b723aceca [VAXC] (bc_check_for_full_enumeration_handling) (current_function_has_nonlocal_goto)
[VAXC] (bc_check_for_full_enumeration_handling)
(current_function_has_nonlocal_goto)
(output_deferred_addressed_constants): New macros to shorten
external names exceeding 31 characters.

From-SVN: r5705
1993-10-10 05:31:12 +00:00
Richard Stallman 4215e49850 (check_format_info): Avoid ?: conditional for function to be called.
From-SVN: r5704
1993-10-10 05:28:35 +00:00
Richard Stallman 14b6efffc7 (pop_momentary_nofree): New function.
From-SVN: r5703
1993-10-10 05:20:40 +00:00
Richard Stallman 6126f4db33 (initdcl, notype_initdcl, init): Undo previous change.
(init): Use pop_momentary_nofree if the initializer has real data.

From-SVN: r5702
1993-10-10 05:20:15 +00:00
Richard Stallman e03bb07275 (sys/spinlock.h): Don't copy it if it doesn't exist.
(DPS/XDPSlib.h): Change "XDPS.h" to <DPS/XDPS.h>, for AIX.

From-SVN: r5701
1993-10-10 02:50:18 +00:00
Richard Stallman 0ef87f3907 When fixing _IO's definition, handle t as arg name.
From-SVN: r5700
1993-10-10 02:46:12 +00:00
Richard Stallman 1a8f3d36ae Change $(srcdir)/ to $(srcdir)\ in commands.
From-SVN: r5699
1993-10-09 21:39:12 +00:00
Richard Kenner 3756812583 (expand_expr, case ABS_EXPR): Don't copy twice into volatile MEM.
From-SVN: r5698
1993-10-09 15:19:52 -04:00
Richard Kenner 90764a87b6 (expand_expr): Never reset ORIGINAL_TARGET.
Pass ORIGINAL_TARGET to lang_expand_expr, not TARGET.

From-SVN: r5697
1993-10-09 15:17:01 -04:00
Richard Stallman d73e9b8da1 (asctoeg): Allocate local buffer dynamically.
(asctoeg): Allocate local buffer dynamically.  Count
any lost significant digits before the decimal point.

From-SVN: r5696
1993-10-09 16:56:24 +00:00
Doug Evans 0debc00746 (install-common): Fix typo.
From-SVN: r5695
1993-10-09 16:26:22 +00:00
Richard Kenner ee456b1c64 Undo rev 1.156 change; redundant with rev 1.155 change.
From-SVN: r5694
1993-10-08 19:30:27 -04:00
Jim Wilson a07287f038 (DBX_STATIC_BLOCK_START): For N_LCSYM, force change
to text section to avoid assembler bug.

From-SVN: r5693
1993-10-08 16:12:20 -07:00
Richard Stallman a3df8278df (STARTFILE_SPEC): Handle -p and -pg outermost.
(STARTFILE_SPEC): Handle -p and -pg
outermost.  Also add support for cross-linking.

From-SVN: r5692
1993-10-08 22:48:15 +00:00
Richard Kenner efd5751440 (dbxout_type, case INTEGER_TYPE): Correctly check for type smaller
than `integer'.

From-SVN: r5691
1993-10-08 18:36:23 -04:00
Jim Wilson 6975612b18 (movsi_unaligned): Change in comment "loads" to "stores".
From-SVN: r5690
1993-10-08 15:32:10 -07:00
Richard Stallman 4f38921423 (emit_library_call_value): Compute struct_value_size,
and pass it to emit_call_1.

From-SVN: r5689
1993-10-08 22:29:17 +00:00
Richard Stallman f0dbe37245 (expand_expr, MAX_EXPR and MIN_EXPR case):
Don't store in TARGET twice if it's volatile.

From-SVN: r5688
1993-10-08 22:02:44 +00:00
Richard Stallman a851303047 Only include i386/gstabs.h if LINUX_ELF is not defined.
From-SVN: r5687
1993-10-08 21:41:41 +00:00
Michael Meissner 1bf3a36e4d define __SHARED__ for shared libraries.
From-SVN: r5686
1993-10-08 21:12:35 +00:00
Brendan Kehoe e2381a6f75 add dependencies for cp-error.o and cp-errfn.o
From-SVN: r5685
1993-10-08 15:17:51 -04:00
Michael Meissner 40fbfbea48 Make ROSE shared library profiling work; Use GOTOFF if possible for ELF.
From-SVN: r5684
1993-10-08 19:15:55 +00:00
Brendan Kehoe 7868c46630 (CPLUS_OBJS): Add cp-error.o and cp-errfn.o.
From-SVN: r5683
1993-10-08 15:06:06 -04:00
Doug Evans 202a34fdb3 (scan_loop): When skipping consecutive insns, don't count notes.
From-SVN: r5682
1993-10-08 17:55:28 +00:00
Richard Kenner fc1557074c (expand_expr, case MAX_EXPR): Don't use TARGET directly if it is a
volatile MEM.

From-SVN: r5681
1993-10-08 11:25:24 -04:00
Richard Kenner 95216deccf (check_function_format): Correct error in last change.
From-SVN: r5680
1993-10-08 10:40:59 -04:00
Richard Stallman ea8daa3ba3 (initdcl, notype_initdcl): Call push_momentary and pop_momentary here.
(init): Not here.

From-SVN: r5679
1993-10-08 12:20:44 +00:00
Richard Kenner 1417141fe5 Remove LIMITS_H; hasn't been used for a while.
From-SVN: r5678
1993-10-08 08:03:26 -04:00
Richard Kenner 02f72ad504 Remove definition of EXTRA_PASSES and remove rules for mips-* files.
From-SVN: r5677
1993-10-08 07:46:38 -04:00