Commit Graph

9560 Commits

Author SHA1 Message Date
Richard Kenner
b377f1cdae Add support for win32's stdcall functions.
From-SVN: r9588
1995-05-07 17:28:23 -04:00
Richard Kenner
53fd9c9a74 Use "go32" instead of "msdos" for future expansion.
Add ^M to end of each line.

From-SVN: r9587
1995-05-07 17:27:58 -04:00
Jason Merrill
3edbc4b95f DECL_ARTIFICIAL
From-SVN: r9586
1995-05-07 10:28:12 +00:00
Jason Merrill
497dc802f6 (expand_function_end): Don't warn about unused
anonymous or artificial parms.

From-SVN: r9585
1995-05-07 10:28:12 +00:00
Richard Kenner
8d75e50998 (process_init_element): Don't clear_momentary if constructor_stack is
not empty.

From-SVN: r9584
1995-05-05 19:14:07 -04:00
Richard Kenner
c8465d869b (do_jump): Fix error in last change.
From-SVN: r9583
1995-05-05 17:36:40 -04:00
Richard Kenner
3ce88d8f5c (SHELL): Now /bin/sh.
From-SVN: r9582
1995-05-05 16:54:10 -04:00
Jeff Law
bc4a9f172b pa.c (emit_move_sequence): Force problematical constants into memory during the reload pass when...
* pa.c (emit_move_sequence): Force problematical constants
	into memory during the reload pass when generating PIC.

From-SVN: r9581
1995-05-05 12:55:27 -06:00
Richard Kenner
ddcf4abcac (build_binary_op): Also warn about ordered comparison of pointer with
zero if -Wall.

From-SVN: r9580
1995-05-05 14:51:56 -04:00
Doug Evans
5a1f85b4f3 NXConstantString.h renamed to NXConstStr.h.
From-SVN: r9579
1995-05-05 17:32:07 +00:00
Richard Kenner
d730ef29fb (emdnorm, toe64, etoe64): Significand of Intel long double denormals
is shifted down one bit.

From-SVN: r9578
1995-05-05 07:10:06 -04:00
Richard Kenner
0e8c917222 (do_jump, case EQ_EXPR, NE_EXPR): Properly compare complex.
From-SVN: r9577
1995-05-05 07:03:41 -04:00
Richard Kenner
0d481071c0 Add more NetBSD cases: atrai, sun3*, and mac68k.
From-SVN: r9576
1995-05-05 05:50:51 -04:00
Richard Kenner
48b2b6676f NXConstantString renamed to NXConstStr.
From-SVN: r9575
1995-05-04 18:01:21 -04:00
Richard Kenner
38a5982c49 Initial revision
From-SVN: r9574
1995-05-04 17:37:30 -04:00
Jason Merrill
a31844688a Make collect demangle
From-SVN: r9573
1995-05-04 21:25:31 +00:00
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