Commit Graph

5313 Commits

Author SHA1 Message Date
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
Per Bothner
cc77d4d5c4 New variable constructor_no_implicit, set by Chill front-end.
From-SVN: r5306
1993-09-11 13:06:48 -07:00
Richard Stallman
92bd489fd6 Fix previous change.
From-SVN: r5305
1993-09-10 13:50:12 +00:00
Richard Stallman
a357ac88c0 (check_init_type_bitfields): Check for mismatch
between field's mode and its type's mode.

From-SVN: r5304
1993-09-10 13:49:30 +00:00
Richard Stallman
5be957a209 (expand_inline_function): Use convert_modes.
From-SVN: r5303
1993-09-10 13:47:31 +00:00
Roland McGrath
94a6c46f8c Recognize operating system `netbsd*'.
From-SVN: r5302
1993-09-10 05:01:21 +00:00
Roland McGrath
7a1487cd77 *** empty log message ***
From-SVN: r5301
1993-09-10 04:22:01 +00:00
Per Bothner
2bede72998 Add support for array with non-zero lower bounds. (Used by Chill.)
From-SVN: r5300
1993-09-09 18:04:26 -07:00
Jim Wilson
e97b2a1c48 (make_node): Put PARM_DECLs of nested functions onto
parent's saveable obstack.

From-SVN: r5299
1993-09-09 16:20:32 -07:00
Ian Lance Taylor
b857971992 Set CROSS_LIBGCC1 to be libgcc1.null
From-SVN: r5298
1993-09-09 20:05:26 +00:00
Richard Stallman
5ffe63ed99 (convert_modes): New function.
(convert_to_mode): Use that.

From-SVN: r5297
1993-09-09 19:51:59 +00:00
Richard Stallman
0661a3dea1 (expand_twoval_binop): Use convert_modes.
(expand_complex_abs): Likewise.
(emit_cmp_insn): Likewise.
(expand_inline_function): Likewise.

(widen_operand): New arg OLDMODE.
(expand_binop, expand_unop): Fix calls to widen_operand.

From-SVN: r5296
1993-09-09 19:50:55 +00:00
Richard Stallman
81722fa979 (emit_store_flag, expand_divmod): Use convert_modes.
From-SVN: r5295
1993-09-09 19:19:51 +00:00
Ian Lance Taylor
b0bfa18629 Use CROSS_LIBGCC1 for a cross-compiler
From-SVN: r5294
1993-09-09 18:18:07 +00:00
Richard Stallman
4d87de75c5 (expand_expr): Set ignore for COND_EXPR with VOID_TYPE.
From-SVN: r5293
1993-09-09 13:49:54 +00:00
Doug Evans
6a4bb1fae1 Cosmetic changes only. Just reordered code a little.
From-SVN: r5292
1993-09-08 22:24:29 +00:00
Jim Wilson
25b5c537ba (dbxout_parms): For parameters in registers, if use
DECL_RTL, then must use TREE_TYPE instead of DECL_ARG_TYPE.

From-SVN: r5291
1993-09-08 12:19:32 -07:00
Jim Wilson
d1460eef26 (fix_truncdfsi2, fixtruncsfsi2): Mark SImode scratch
register as early clobbered when dest is in memory.

From-SVN: r5290
1993-09-08 12:15:32 -07:00
Jim Wilson
0ff7639849 (sbusdev/audiovar.h): Fix wrongly edited // comments
nested within /* */ comments.

From-SVN: r5289
1993-09-08 12:10:46 -07:00
Jim Wilson
fa0d53694e (process_command): Don't warn for -x after last input file
if spec_lang is zero.

From-SVN: r5288
1993-09-08 12:08:15 -07:00
Jim Wilson
431a6ecab3 (convert_move): When truncating, call force_reg first if
it is something that gen_lowpart won't understand.

From-SVN: r5287
1993-09-08 11:58:14 -07:00
Jim Wilson
054b53fe74 (getrlimit, getrusage, setrlimit): Return int not void.
From-SVN: r5286
1993-09-08 11:49:36 -07:00
John Hassey
a64ddde578 (output_call): Avoid use of jsr.n r1, this loses on
the 88110.

From-SVN: r5285
1993-09-08 15:31:02 +00:00
Richard Kenner
cfb557c409 (define_attr): Expand list of instruction attributes.
(define_function_unit): Compute delay information based upon processor type
and expand functional unit types.
(mulsi3, divsi3, divmodsi4, divsf3, divdf3, muldf3, movsf): Use expanded
attributes.
(load with update): Likewise.

From-SVN: r5284
1993-09-08 10:50:35 -04:00
Richard Kenner
5248c9618c (rs6000_cpu, rs6000_cpu_string): New variables.
(rs6000_override_options): New function.

From-SVN: r5283
1993-09-08 10:49:49 -04:00
Richard Kenner
fb623df501 (MASK_*, TARGET_*): Add target masks and tests.
(TARGET_SWITCHES): Add target switches for various architectures and mnemonics
options.
(TARGET_OPTIONS): Add cpu type as special target option.
(OVERRIDE_OPTIONS): Call rs6000_override_options to decipher.

From-SVN: r5282
1993-09-08 10:49:18 -04:00
Richard Stallman
8348547afc (output_init_element): When adding to constructor_pending_elts, copy field.
From-SVN: r5281
1993-09-08 10:36:19 +00:00
Richard Kenner
4b46230e9d (make_tree, case CONST_INT): Properly set high part if unsigned.
From-SVN: r5280
1993-09-08 06:15:49 -04:00
Richard Stallman
91fa3c30b7 (push_init_level): Diagnose extra brace group at end of record.
(push_init_level): Diagnose extra brace group at end
of record.  Set constructor_type to 0.
(pop_init_level): Don't output anything if constructor_type is 0.
(process_init_element): Do nothing if constructor_type is 0.

From-SVN: r5279
1993-09-08 09:56:15 +00:00
Richard Kenner
90b5a681ce (c_build_type_variant): Allocate new type in same obstack as old one.
From-SVN: r5278
1993-09-07 19:11:15 -04:00
Richard Stallman
e3a12f0cb1 (digest_init): Fix error message text.
From-SVN: r5277
1993-09-07 21:46:24 +00:00