Commit Graph

5343 Commits

Author SHA1 Message Date
Richard Kenner
f863464496 (PREDICATE_CODES): Fix typos and add missing entries.
From-SVN: r5356
1993-09-19 09:08:00 -04:00
Richard Kenner
da01bc2cb4 (REG_ALLOC_ORDER): Add missing entries.
From-SVN: r5355
1993-09-18 18:25:10 -04:00
Richard Kenner
d96023cfa7 (recog_for_combine): Fix typos in previous change.
From-SVN: r5354
1993-09-18 16:52:40 -04:00
Richard Stallman
81d79e2c7a (convert_move): Use emit_library_call_value.
From-SVN: r5353
1993-09-18 13:28:10 +00:00
Richard Kenner
4644aad40e (earlyclobber_operand_p): New function.
(combine_reloads): Use it.
(find_reloads): Set reload_earlyclobbers earlier.
(refers_to_regno_for_reload_p): Count something being stored into if it is
an earlyclobber operand.

From-SVN: r5352
1993-09-18 07:57:54 -04:00
Per Bothner
efc1a4d9b4 (invert_truthvalue): Allow arbitrary BOOLEAN_TYPE arguments.
From-SVN: r5351
1993-09-17 21:43:29 -07:00
Richard Stallman
925d5bbfe9 (output_init_element): Update constructor_bit_index for union types.
From-SVN: r5350
1993-09-18 02:36:30 +00:00
Richard Stallman
96fc2623de Declare __fixunsxfdi only if really have XFmode.
Likewise for __fixunstfdi.

From-SVN: r5349
1993-09-18 00:39:21 +00:00
Richard Kenner
974f41466f (recog_for_combine): Always reject a PARALLEL containing our special
CLOBBER.

From-SVN: r5348
1993-09-17 18:19:59 -04:00
Richard Kenner
f3becefd60 (fold_rtx, case MINUS): Copy result obtained from hash table.
From-SVN: r5347
1993-09-17 18:13:33 -04:00
Richard Kenner
31c85c78b1 (fold_rtx, case SUBREG): If paradoxical SUBREG of a constant, return
the constant.

From-SVN: r5346
1993-09-17 18:10:33 -04:00
Richard Kenner
c1719013cf (lookup_field): Use HOST_WIDE_INT instead of long or int when we want
integer wide enough to hold a pointer difference.

From-SVN: r5345
1993-09-17 18:08:22 -04:00
Per Bothner
72db60c6d5 Better encoding of CHAR_TYPE and BOOLEAN_TYPE.
From-SVN: r5344
1993-09-17 13:06:27 -07:00
Richard Stallman
708c676e5e (emit_library_call_value): Fix declaration.
From-SVN: r5343
1993-09-17 13:02:36 +00:00
Richard Stallman
944d7b1408 (find_reloads): For PLUS operand, call find_reloads_toplev.
From-SVN: r5342
1993-09-16 17:35:50 +00:00
Ian Lance Taylor
fefc83ce1c Don't refix include files when xgcc is rebuilt
From-SVN: r5341
1993-09-16 16:07:00 +00:00
Richard Stallman
a0bc09336a (expand_complex_abs): Fix typo in prev change.
From-SVN: r5340
1993-09-16 14:22:33 +00:00
Jim Wilson
c1255328c4 (expand_goto): Set it.
From-SVN: r5339
1993-09-15 23:14:20 -07:00
Jim Wilson
2edc3b33ce (function_cannot_inline_p): Don't inline if it's set.
From-SVN: r5338
1993-09-15 23:13:54 -07:00
Jim Wilson
6766466421 (struct function): New field has_nonlocal_goto.
From-SVN: r5337
1993-09-15 23:13:29 -07:00
Jim Wilson
8634413a53 (current_function_has_nonlocal_goto): New var.
(push_function_context): Save it.
(pop_function_context): Restore it.
(init_function_start): Init it.

From-SVN: r5336
1993-09-15 23:12:57 -07:00
Jim Wilson
a996f770af (current_function_has_nonlocal_goto): Declare.
From-SVN: r5335
1993-09-15 23:11:29 -07:00
Jim Wilson
33fe78517f (mark_set_resources): For CALL_INSN...
(mark_set_resources): For CALL_INSN, if followed by a
NOTE_INSN_SETJMP note, then assume that all registers are clobbered.
Handle case where CALL_INSN is in a sequence.

From-SVN: r5334
1993-09-15 23:05:28 -07:00
Richard Stallman
cc3cdac3bb Declare __fixunstfdi.
From-SVN: r5333
1993-09-15 22:09:57 +00:00
Richard Stallman
8e1404b384 Delete the conditional that used to semi-avoid interference with sys/stdtypes.h on Sun.
Delete the conditional that used to semi-avoid
interference with sys/stdtypes.h on Sun.  (fixincludes makes it ok.)

From-SVN: r5332
1993-09-15 21:39:20 +00:00
Jeff Law
e543f7513a * pa.h (ASM_FILE_START): Fix access information for $LIT$ subspace.
From-SVN: r5331
1993-09-15 14:16:33 -06:00
Doug Evans
2f2d13dade c-typeck.c (lookup_field): New function (for chill).
* c-typeck.c (lookup_field): New function (for chill).
(build_component_ref): Call it.

From-SVN: r5330
1993-09-15 17:37:48 +00:00
Richard Stallman
adb44af89e (find_reloads): Fix bugs in previous change.
From-SVN: r5329
1993-09-15 13:40:11 +00:00
Richard Stallman
d181c15421 (aggregate_value_p): Allow type node as argument.
From-SVN: r5328
1993-09-15 13:39:18 +00:00
Richard Stallman
9a7f678c7d (expand_float): Use emit_library_call_value.
(expand_unop, expand_binop): Likewise.
(expand_complex_abs): Likewise.
Also pass SUBMODE as output mode to emit_library_call_value.

From-SVN: r5327
1993-09-15 13:38:01 +00:00
Richard Stallman
fac0ad800a (emit_library_call_value): Finish making it work.
From-SVN: r5326
1993-09-15 13:31:09 +00:00
Richard Stallman
f70ad14cb4 Declare __fixunsxfdi.
From-SVN: r5325
1993-09-15 13:30:09 +00:00
Richard Stallman
81d823048d (copy_for_inline, copy_rtx_and_substitute):
Always preserve the volatil flag when copying ASM_OPERANDS.

From-SVN: r5324
1993-09-15 12:14:19 +00:00
Jim Wilson
d9fc6069c6 (valid_compound_expr_initializer): New function.
(digest_init): Handle compound expressions as initializers when
pedantic.

From-SVN: r5323
1993-09-14 19:03:22 -07:00
Jim Wilson
179bb78c23 (immed_double_const, immed_real_const_1): Don't touch
const_double_chain if not inside a function.

From-SVN: r5322
1993-09-14 18:56:04 -07:00
Per Bothner
5522c047d5 (digest_init): Compare types using comptypes.
From-SVN: r5321
1993-09-14 16:23:18 -07:00
Richard Stallman
7f2ab88627 (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE):
If omitting frame pointer, output an adjspd if necessary.
Use movd to save registers if four or less need saving.
Set DEPTH properly.

From-SVN: r5320
1993-09-14 18:56:12 +00:00
Richard Stallman
36b505688d (find_dummy_reload): New args inmode, outmode.
(find_reloads): Pass new args.
(push_reload): Likewise.

From-SVN: r5319
1993-09-14 16:39:28 +00:00
Richard Stallman
da57b63af9 (layout_record): Turn off PCC_BITFIELD_TYPE_MATTERS
rounding of field bitpos, if maximum_field_alignment is nonzero.

From-SVN: r5318
1993-09-14 12:13:39 +00:00
Richard Stallman
94ba506964 (set_init_index): Don't allow variable indices.
(output_init_element): When putting an elt into a
CONSTRUCTOR, always set the TREE_PURPOSE (even for arrays).
Copy the node if it's an INTEGER_CST.
(output_pending_init_elements): If have gap and not incremental,
advance constructor_unfilled_fields or constructor_unfilled_index.

(push_init_level): Pop any implicit levels
that have been filled up.
Don't die if constructor_type is 0.
(process_init_element): If VALUE is 0 for union type,
update constructor_bit_index.

From-SVN: r5317
1993-09-13 20:19:42 +00:00
Richard Stallman
ecd4cee03c (complete_array_type): Handle TREE_PURPOSE of array constructor elements.
From-SVN: r5316
1993-09-13 20:17:48 +00:00
Richard Stallman
03dc44a614 (store_constructor): Handle TREE_PURPOSE of array constructor.
(expand_expr, ARRAY_REF case): Likewise.

From-SVN: r5315
1993-09-13 20:16:51 +00:00
Richard Stallman
3181cbfdd5 (output_constructor): Handle index value in
the TREE_PURPOSE, for array constructors.

From-SVN: r5314
1993-09-13 18:13:56 +00:00
Per Bothner
d4c8913966 (expand_expr, ARRAY_REF): Coerce low_bound to sizetype.
From-SVN: r5313
1993-09-12 23:01:37 -07:00
Doug Evans
59b22f6465 (digest_init): Remove obsolete comments on args TAIL, OF_WHAT.
From-SVN: r5312
1993-09-12 14:58:02 +00:00
Richard Stallman
3f15938e00 (protect_from_queue): Don't alter an existing MEM.
(convert_modes): Use X's mode (not OLDMODE) unless it is VOIDmode.

From-SVN: r5311
1993-09-12 13:19:38 +00:00
Richard Stallman
7056f7e883 (basic_induction_var): New arg MODE.
Use it to call convert_modes.
(strength_reduce): Supply the new arg to basic_induction_var.

From-SVN: r5310
1993-09-12 13:08:35 +00:00
Richard Stallman
c2ec26b8af (expand_shift): Use convert_modes.
(emit_store_flag): Likewise.

From-SVN: r5309
1993-09-12 12:51:14 +00:00
Richard Stallman
3fad11c921 (convert_modes): Declared.
From-SVN: r5308
1993-09-12 12:37:26 +00:00
Doug Evans
588e387f14 (main): Provide upward compatibility with old version
of collect (avoids infinite mutual recursion between the two).

From-SVN: r5307
1993-09-11 20:46:39 +00:00