Commit Graph

6203 Commits

Author SHA1 Message Date
Richard Stallman dc476ce26f (default_compilers): Do define __GNUC_MINOR__ if input is `-'.
From-SVN: r6166
1993-11-26 20:58:04 +00:00
Richard Kenner 32e6ec6f4f (emit-rtl.o): Includes tree.h.
From-SVN: r6165
1993-11-25 18:16:17 -05:00
Richard Kenner caf6ec996d (expand_start_stmt_expr): Call start_sequence_for_rtl_expr instead of
start_sequence.

From-SVN: r6164
1993-11-25 18:13:11 -05:00
Richard Kenner ca8142590f (expand_expr, case RTL_EXPR): Call free_temps_for_rtl_expr.
From-SVN: r6163
1993-11-25 18:12:37 -05:00
Richard Kenner a25c797134 Include tree.h.
(sequence_rtl_expr): New variable.
(save_emit_status, restore_emit_status): Save and restore it.
(init_emit): Initialize it.
(start_sequence_for_rtl_expr): New function.

From-SVN: r6162
1993-11-25 18:11:29 -05:00
Richard Kenner e7a84011d2 Declare sequence_rtl_expr.
(struct temp_slot): New field rtl_expr.
(assign_stack_temp): Set it from sequence_rtl_expr.
({free,pop}_temp_slots): Don't free any slot with nonzero rtl_expr.
(free_temps_for_rtl_expr): New function.

From-SVN: r6161
1993-11-25 18:10:57 -05:00
Richard Kenner f55eed9920 (struct sequence_stack): New field sequence_rtl_expr.
(struct function): Likewise.

From-SVN: r6160
1993-11-25 18:10:26 -05:00
Richard Stallman 70fbceeeed (stmp-fixproto): Create include subdir if doesn't exist.
From-SVN: r6159
1993-11-25 22:24:26 +00:00
Richard Kenner 980697fdbe Clean up comment formatting.
From-SVN: r6158
1993-11-25 10:53:19 -05:00
Richard Stallman b7c9c707a6 (shorten_compare): Correct typo from last change.
From-SVN: r6157
1993-11-24 23:14:43 +00:00
Richard Stallman 535e79835a (save_def_or_dec): Correct typo in change of Nov 23.
(save_def_or_dec): Correct typo in change of Nov 23.  Make
sure pointers within def_dec_p are valid before it is freed.

From-SVN: r6156
1993-11-24 19:33:10 +00:00
Richard Kenner e287fd6e75 (expand_expr, case ADDR_EXPR): Also pass const0_rtx if necessary, to avoid multiple cleanup runs.
(expand_expr, case ADDR_EXPR): Also pass const0_rtx if necessary, to
avoid multiple cleanup runs.
(expand_expr, case WITH_CLEANUP_EXPR): Pass const0_rtx if necessary,
to keep the recursive call from running the same cleanups twice.
(expand_expr, case TARGET_EXPR): Don't try to add the cleanup if
ignore's non-zero, since we would have already done it.

From-SVN: r6155
1993-11-24 07:02:20 -05:00
Brendan Kehoe 0776af7805 Cygnus<->FSF merge for gcc-2.5.5
From-SVN: r6154
1993-11-24 00:13:59 -05:00
Richard Stallman 692e06f5f2 (function_start_label): New function.
(output_entry_point_die): Use it.
(output_global_subroutine_die, output_local_subroutine_die): Use it.

From-SVN: r6153
1993-11-24 02:20:47 +00:00
Richard Stallman 0ef8d7621c (save_def_or_dec): If function's aux info doesn't end with a closeparen, ignore it.
(save_def_or_dec): If function's aux info doesn't end
with a closeparen, ignore it.
(xmalloc, xrealloc): Cast result of malloc.

From-SVN: r6152
1993-11-24 00:11:19 +00:00
Richard Stallman 9db931afe6 (build_binary_op): Don't accept complex types for max, min, lt, etc.
From-SVN: r6151
1993-11-23 23:10:32 +00:00
Richard Kenner 65753f5598 (rare_destination): Ensure we always correctly handle a null
JUMP_LABEL.

From-SVN: r6150
1993-11-23 18:05:04 -05:00
Richard Kenner 647902e0ab (ASM_SPEC): Pass -linkrelax, not -link-relax.
From-SVN: r6149
1993-11-23 17:48:30 -05:00
Richard Kenner c4e861e80b (try_combine, simplify_shift_const): Add initializations for some
uninitialized variables.

From-SVN: r6148
1993-11-23 17:43:26 -05:00
Richard Kenner d66230e738 (arm_backwards_branch): Branching to the current insn is a backwards
branch.

From-SVN: r6147
1993-11-23 17:35:16 -05:00
Richard Kenner f577532561 (check_format_info): When we have INTEGER_TYPEs...
(check_format_info): When we have INTEGER_TYPEs, save result of
signed_type or unsigned_type for later comparison with the various
forms of char types.

From-SVN: r6146
1993-11-23 17:32:21 -05:00
Richard Stallman 1d42e1b7cf (__bb_exit_func): Fix format %*d -> %*ld.
From-SVN: r6145
1993-11-23 22:01:14 +00:00
Richard Stallman 5bb92565c0 Don't fail to set $$.
From-SVN: r6144
1993-11-23 21:54:55 +00:00
Richard Kenner adc22a04eb (expand_expr...
(expand_expr, case SAVE_EXPR): Properly recompute the value of
UNSIGNEDP when SAVE_EXPR_RTL is nonzero and we have promoted.

From-SVN: r6143
1993-11-23 15:26:10 -05:00
Richard Stallman 1f17868aa6 (output_local_subroutine_die): Use the function name
from its symbol_ref, not DECL_ASSEMBLER_NAME.

From-SVN: r6142
1993-11-23 09:18:25 +00:00
Richard Stallman 1be0704635 (expand_function_end): New arg END_BINDINGS.
From-SVN: r6141
1993-11-23 06:19:36 +00:00
Richard Stallman 0e5eedfeb0 (finish_function): Pass new arg to expand_function_end.
Don't call expand_end_bindings here.

From-SVN: r6140
1993-11-23 06:19:09 +00:00
Richard Stallman c31e0b8bb1 (output_inline_function): Pass new arg to expand_function_end.
From-SVN: r6139
1993-11-23 06:18:46 +00:00
Steve Chamberlain e748c6bd0c *** empty log message ***
From-SVN: r6138
1993-11-22 19:00:28 +00:00
Richard Stallman f0918db20d (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Use SIZE, not ROUNDED.
(FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Definitions turned off.
(REGISTER_PREFIX, IMMEDIATE_PREFIX): New definitions.
(PARM_BOUNDARY): New definition.

From-SVN: r6137
1993-11-22 03:39:43 +00:00
Richard Kenner 0c8ae3d30b (__enable_execute_stack): Add DolphinOS version.
From-SVN: r6136
1993-11-21 15:38:55 -05:00
Richard Kenner 26d52b3e2c (EXTRA_PARTS): Redefined to also contain gcc.ld.
(gcc.ld): Copied from dolphin.ld.
(X_CFLAGS): Define __m88k__.

From-SVN: r6135
1993-11-21 15:38:01 -05:00
Richard Kenner e61e33c980 Remove some generated .asm files.
From-SVN: r6134
1993-11-21 15:37:32 -05:00
Richard Kenner acf19ef524 Initial revision
From-SVN: r6133
1993-11-21 15:37:05 -05:00
Richard Kenner db2a4d69b7 (SDB_ALLOW_FORWARD_REFERENCES): Define.
(SDB_ALLOW_UNKNOWN_REFERENCES): Define.
(CPP_PREDEFINES): Redefine.
(CPP_DEFAULT): Redefine.
(INITIALIZE_TRAMPOLINE): Redefine.

From-SVN: r6132
1993-11-21 15:31:26 -05:00
Richard Stallman 032b92e553 (LIB_SPEC): Fix the other definition too.
From-SVN: r6131
1993-11-21 11:24:57 +00:00
Richard Stallman 4239762d1f (LIB_SPEC): Use -lm in addition to -lc--not instead of -lc.
From-SVN: r6130
1993-11-21 11:23:36 +00:00
Richard Stallman 2ee370da2a (write_rbrac): Make added declarations conditional
on __cplusplus and nothing else.

From-SVN: r6129
1993-11-21 10:12:08 +00:00
Richard Stallman f0013113ae (stdio.h): Reenable adding protos for v*printf.
From-SVN: r6128
1993-11-21 10:11:51 +00:00
Richard Stallman 07788bb088 (authdes_create): Delete arg info.
We can't count on having struct sockaddr defined.

From-SVN: r6127
1993-11-21 09:24:43 +00:00
Richard Stallman e6093ed4f8 (math.h): When deleting inline sqrt and abs,
be flexible about arg name and function body.

From-SVN: r6126
1993-11-21 06:54:47 +00:00
Richard Stallman 700ba19c9c (stmp-fixproto): Never run fixproto twice.
From-SVN: r6125
1993-11-21 06:01:04 +00:00
Jim Wilson 55cd1c090c (warn_if_unused_value): Handle arbitrary number of casts
before a modify.

From-SVN: r6124
1993-11-20 13:51:04 -08:00
Richard Kenner 25f514cb80 (perform_divsi3, perform_modsi3): Add '&' in constraint for DX;
explicitly copy arg arg1 to cx.

From-SVN: r6123
1993-11-20 16:38:20 -05:00
Richard Stallman 7b073ca6c5 (expand_builtin): For sin, cos, fsqrt, alloca, ffs, strlen,
strcpy, memcpy, strcmp, memcmp, if args are bad, use expand_call.

From-SVN: r6122
1993-11-20 09:21:06 +00:00
Richard Stallman 4bc38260fc (write_rbrac): Treat rewinddir like memmove.
From-SVN: r6121
1993-11-20 07:26:48 +00:00
Richard Kenner a175f87d71 Remove declarations for malloc and realloc.
From-SVN: r6120
1993-11-19 18:51:07 -05:00
Richard Kenner bbd6cf73c6 (store_field): Convert EXP to MODE before calling store_bit_field.
From-SVN: r6119
1993-11-19 18:48:17 -05:00
Richard Kenner 9061e4cdc9 (expand_complex_abs): Replace some erroneous uses of MODE with
SUBMODE.

From-SVN: r6118
1993-11-19 18:36:25 -05:00
Richard Kenner 2dd484ed8e (force_to_mode): Don't allow sign-extension of constants when we are
narrowing things in an IOR or XOR.

From-SVN: r6117
1993-11-19 18:24:20 -05:00