Commit Graph

9544 Commits

Author SHA1 Message Date
Jim Wilson 1a62528312 (plain_type): Pass additional argument to plain_type_1.
(plain_type_1): New parameter level.  Increment it when making
recursive calls.  Force the type to void_type_mode before starting
a 7th level of recursion.

From-SVN: r9572
1995-05-04 11:14:53 -07:00
Jim Wilson 97f8690b74 (general_movsrc_operand, general_movdst_operand): Delete
references to POST_DEC and PRE_INC.

From-SVN: r9571
1995-05-04 11:12:10 -07:00
Jim Wilson c5d67833be Clean up whitespace, comments, etc.
(TARGET_SH, RTL_BIT, DT_BIT, C_BIT, R_BIT, TARGET_DUMP_RTL,
TARGET_DUMP_R, TARGET_CDUMP): Delete.
(TARGET_SWITCHES): Delete -mR, -mc, -mr options.
(CONST_DOUBLE_OK_FOR_LETTER_P): Delete 'G' contraint.
(FUNCTION_VALUE): Simplify.
(REG_OK_FOR_PRE_POST_P, IS_INDEX): Delete.
(BASE_REGISTER_RTX_P, INDEX_REGISTER_RTX_P): Rewrite to allow
SUBREGs.
(GO_IF_LEGITIMATE_INDEX): Delete unused REGNO argument.
(GO_IF_LEGITIMATE_ADDRESS): Use BASE_REGISTER_RTX_P instead of
REG_OK_FOR_PRE_POST_P.  Don't accept PRE_INC or POST_DEC addresses.
(PREDICATE_CODES, PROMOTE_MODE): Define.

From-SVN: r9570
1995-05-04 11:11:46 -07:00
Michael Meissner 3595d104fa Fix abs not to use powerpc instructions on -mcpu=common
From-SVN: r9569
1995-05-03 18:49:09 +00:00
Richard Kenner a5a799d19c (gen_aux_info_file): Use strerror #ifdef HAVE_STRERROR.
From-SVN: r9568
1995-05-03 08:48:50 -04:00
Jeff Law 93ae92c1d5 pa.c (output_call): Fix typo/thinko in last change.
* pa.c (output_call): Fix typo/thinko in last change.
	(output_function_epilogue): Align the data section before
	emitting deferred plabels.

	From Torbjorn:
	* pa.c (before functions): Declare deferred_plabels and
	n_deferred_plabels.
	(output_call): When generating pic, don't use LP and RP.  Use 32 bit
	plabel instead.
	(output_function_epilogue): Output plabels accumulated in output_call.

From-SVN: r9567
1995-05-02 23:07:56 -06:00
Mike Stump a69e1f6afc small tweak
From-SVN: r9566
1995-05-02 21:54:39 +00:00
Jeff Law 79cb82b965 * pa.c (hppa_expand_epilogue): Fix thinko in last change.
From-SVN: r9565
1995-05-02 15:15:32 -06:00
Doug Evans 6037459976 (jump_optimize, can_reach_end determination): A barrier can
follow the return insn.

From-SVN: r9564
1995-05-02 20:53:50 +00:00
Mike Stump 122977b9df fold-const.c (fold): Ensure that we don't alter the expression's type when folding CLEANUP_POINT_EXPRs.
* fold-const.c (fold): Ensure that we don't alter the expression's
        type when folding CLEANUP_POINT_EXPRs.

From-SVN: r9563
1995-05-02 19:39:17 +00:00
Michael Meissner 91e6623506 If expensive optimizations, use different pseudos when making store flag insns.
From-SVN: r9562
1995-05-02 17:41:19 +00:00
Jeffrey A. Law 473fa8ccce pa.c (hppa_expand_epilogue): Correctly handle restore of %rp for functions with a stack size of exactly...
Tue May  2 01:25:29 1995  Jeffrey A. Law  <law@snake.cs.utah.edu>

	* pa.c (hppa_expand_epilogue): Correctly handle restore of %rp
	for functions with a stack size of exactly 8kbytes and no frame
	pointer.

From-SVN: r9561
1995-05-01 23:27:01 -06:00
Jim Wilson 509b12e0c5 (sdbout_one_type): Don't switch to text section if
in function with section attribute.

From-SVN: r9560
1995-05-01 16:50:11 -07:00
Jim Wilson bcd49eb7a8 (combine_instrutions): Set subst_prev_insn to zero.
(try_combine, undo_all): Likewise.
(get_last_value): Return zero if subst_prev_insn set.

From-SVN: r9559
1995-05-01 16:43:28 -07:00
Jim Wilson 4742819005 (INIT_TARGET_OPTABS): Move INIT_SUBTARGET_OPTABS to end.
From-SVN: r9558
1995-05-01 16:38:38 -07:00
Jim Wilson 394fa7c884 (install-dir): chmod a+rx all newly created directories.
From-SVN: r9557
1995-05-01 16:35:37 -07:00
Jim Wilson 4c7a0be934 (expand_expr, case SAVE_EXPR): Handle the case where
mode is VOIDmode.

From-SVN: r9556
1995-05-01 16:26:28 -07:00
Mike Stump a58942422c 68th Cygnus<->FSF merge
From-SVN: r9555
1995-05-01 21:36:30 +00:00
Per Bothner 896fc32209 Improve cleaning up. See hangeLog.
From-SVN: r9554
1995-04-30 14:43:12 -07:00
Per Bothner 75410dc3a6 * cppmain.c (main): Remove commented-out code that used PARSE_GETC.
From-SVN: r9553
1995-04-30 14:43:12 -07:00
Per Bothner 782331f47d Bunch of fixes. See ChangeLog.
From-SVN: r9552
1995-04-30 14:43:12 -07:00
Per Bothner 7e2eb69779 Remove PARSE_GETC. Add comment about "@ ".
From-SVN: r9551
1995-04-30 14:43:12 -07:00
Richard Kenner 92c874f7d7 (va_arg): Don't assume __va_rounded_size (char) has the value of 4.
From-SVN: r9550
1995-04-30 08:11:09 -04:00
Richard Kenner 303a5e0005 (NOTICE_UPDATE_CC): Correctly handle aob insns.
From-SVN: r9549
1995-04-30 08:00:18 -04:00
Richard Kenner 67225c151e (expand_expr, case CONSTRUCTOR): Don't set target to zero if more then one word.
(expand_expr, case CONSTRUCTOR): Don't set target to zero if more then one
word.
Pass size and alignment to move_by_pieces_ninsns in bytes, not bits.

From-SVN: r9548
1995-04-30 07:22:58 -04:00
Richard Kenner c256df0bf7 (cse_insn): Properly set IN_MEMORY for SET_DEST.
From-SVN: r9547
1995-04-30 07:19:15 -04:00
Richard Kenner abd23b66b4 (substitute_in_expr): Preserve TREE_READONLY.
From-SVN: r9546
1995-04-30 07:16:51 -04:00
Richard Kenner 1c4fadec37 (enum attrs): Add A_UNUSED.
(init_attributes): Initialize it.
(decl_attributes, case A_UNUSED): New case.

From-SVN: r9545
1995-04-30 07:13:38 -04:00
Richard Kenner 9727936469 (do_include): Re-fix minor memory leak by using alloca instead of
xmalloc and free.

From-SVN: r9544
1995-04-29 15:44:14 -04:00
Richard Kenner 040c67b31d (macarg): Except for reporting error...
(macarg): Except for reporting error, treat unterminated macro call as
if it were terminated, since `macroexpand' relies on *argptr being
filled in.

From-SVN: r9543
1995-04-29 15:41:47 -04:00
Torbjorn Granlund 9b38c2fa8e (output_mul_insn): Simplify, it is never called with UNSIGNEDP set.
From-SVN: r9542
1995-04-29 10:07:29 +00:00
Torbjorn Granlund c210e6aeae (divsi3, udivsi3, modsi3, umodsi3): Simplify.
(ashlsi3): Clean up indentation and commentary.

From-SVN: r9541
1995-04-29 10:06:54 +00:00
Jason Merrill 1c1f2d29a0 Tweak line numbers in output
From-SVN: r9540
1995-04-28 19:46:40 +00:00
Stan Cox 6e4e5f1b49 (ENDFILE_SPEC, LIB_SPEC) Fix crtbegin and crtend
From-SVN: r9539
1995-04-28 17:04:06 +00:00
Stan Cox 50dc89b594 (umulsidi3) Doesn't work for 88110 with mod/div changes
,.

From-SVN: r9538
1995-04-28 17:04:06 +00:00
Stan Cox 1dd4b7a8b1 (FRAME_POINTER_REQUIRED) Add -momit-leaf-frame-pointer
From-SVN: r9537
1995-04-28 17:04:06 +00:00
Stan Cox 17a2962cbb (symbolic_operand) Put relocatable pic constants in data
From-SVN: r9536
1995-04-28 17:04:06 +00:00
Stan Cox 60678486db (GCC_FOR_TARGET) tdesc gets mixed up for crtbegin/crtend
From-SVN: r9535
1995-04-28 17:04:06 +00:00
Richard Kenner 48dd3a7cb1 (pop_init_level, output_init_element): Pass require_constant_* to
digest_init.

From-SVN: r9534
1995-04-28 10:40:50 -04:00
Richard Kenner 7ac18cf65b (mov[sd]i and splits): Change call to alpha_emit_set_const.
From-SVN: r9533
1995-04-28 10:38:02 -04:00
Richard Kenner c8e9adecbb (alpha_emit_set_const): Add declaration.
From-SVN: r9532
1995-04-28 10:37:45 -04:00
Richard Kenner fd94addf1d (alpha_emit_set_const): Now returns rtx and take MODE arg.
Rework to use a new pseudo for intermediate values if high opt level.
Also use expand_{bin,un}op.

From-SVN: r9531
1995-04-28 10:37:27 -04:00
Richard Kenner 9f9ed50a48 (stack_result): Fix bug in last change.
From-SVN: r9530
1995-04-28 06:36:36 -04:00
Doug Evans 4f2bae393c (sys_nerr): Really declare ifndef HAVE_STRERROR.
From-SVN: r9529
1995-04-28 07:34:26 +00:00
Doug Evans f4f2475387 (*): Update calls to start_decl, finish_struct (pass NULLs for attributes).
From-SVN: r9528
1995-04-28 05:07:47 +00:00
Doug Evans 5406e08aa9 sparc.md (tablejump): Only if ! TARGET_MEDANY.
* sparc/sparc.md (tablejump): Only if ! TARGET_MEDANY.
	(casesi): New pattern for TARGET_MEDANY case.

From-SVN: r9527
1995-04-28 02:04:32 +00:00
Doug Evans 2db70b29ac * typeck.c (common_type): Call lookup_attribute instead of value_member.
From-SVN: r9526
1995-04-28 01:52:40 +00:00
Doug Evans 19a0120cb0 (RETURN_POPS_ARGS): Call lookup_attribute.
(ENCODE_SECTION_INFO): Likewise.
(CPP_PREDEFINES): Use __stdcall__, __cdecl__.
(VALID_MACHINE_DECL_ATTRIBUTE): Call is_attribute_p.
`args' must be NULL.

From-SVN: r9525
1995-04-28 01:12:58 +00:00
Doug Evans 88a781e84c (common_type): Call lookup_attribute instead of value_member.
From-SVN: r9524
1995-04-28 01:11:28 +00:00
Richard Kenner d56d506a92 New anonymous patterns to combine insert with arbitrary ashift, ashiftrt,
lshiftrt, or zero_extract.  (Based on patch from John Brooks <jbrooks@ea.com>.)
(ashlsi3): Remove extraneous operand processing.

From-SVN: r9523
1995-04-27 21:10:25 -04:00