Jan Brittenson [Wed, 22 Sep 1993 19:04:33 +0000 (12:04 -0700)]
made bc_emit_trampoline a macro, moved it to m68k.h
From-SVN: r5409
Jan Brittenson [Wed, 22 Sep 1993 19:02:19 +0000 (12:02 -0700)]
make sym_lookup global instead of static.
From-SVN: r5408
Jan Brittenson [Wed, 22 Sep 1993 19:01:32 +0000 (12:01 -0700)]
declare further functions needed for bc_emit_trampoline.
declare further functions needed for bc_emit_trampoline. Include
bytecode header files.
From-SVN: r5407
Jan Brittenson [Wed, 22 Sep 1993 18:47:34 +0000 (11:47 -0700)]
added missing declaration for bytecode
From-SVN: r5406
Jan Brittenson [Wed, 22 Sep 1993 18:45:56 +0000 (11:45 -0700)]
bytecode modifications
From-SVN: r5405
Jan Brittenson [Wed, 22 Sep 1993 18:45:16 +0000 (11:45 -0700)]
fixed typo in bytecode code
From-SVN: r5404
Mike Stump [Wed, 22 Sep 1993 18:43:15 +0000 (18:43 +0000)]
cp-class.c (finish_struct): Move special C++ only code that handles anonymous unions inside structures here.
* cp-class.c (finish_struct): Move special C++ only code that
handles anonymous unions inside structures here.
* stor-layout.c (layout_record): From here.
From-SVN: r5403
Jan Brittenson [Wed, 22 Sep 1993 18:33:20 +0000 (11:33 -0700)]
bytecode fixes
From-SVN: r5402
Richard Stallman [Wed, 22 Sep 1993 18:29:43 +0000 (18:29 +0000)]
(combine_temp_slots): Handle deletion properly.
Free the RTL that is allocated.
From-SVN: r5401
Richard Stallman [Wed, 22 Sep 1993 18:26:01 +0000 (18:26 +0000)]
(build_component_ref): For a field in an anonymous union,
make two nested COMPONENT_REFs.
(lookup_field): Additional arg INDIRECT.
From-SVN: r5400
Kresten Krab Thorup [Wed, 22 Sep 1993 18:00:23 +0000 (18:00 +0000)]
(-compare:, -shouldNotImplement:): Added.
From-SVN: r5399
Kresten Krab Thorup [Wed, 22 Sep 1993 17:59:50 +0000 (17:59 +0000)]
(objc_write_type, objc_write_types): Take take char** args for writing strings in stead of char* to match NeXT.
(objc_write_type, objc_write_types): Take
take char** args for writing strings in stead of char* to
match NeXT. Also correct some typos in error messages.
From-SVN: r5398
Jan Brittenson [Wed, 22 Sep 1993 17:55:26 +0000 (10:55 -0700)]
renamed jumpif and jumpifnot to xjumpif and xjumpifnot respectively to
avoid namespace conflict in stmt.c
From-SVN: r5397
Jan Brittenson [Wed, 22 Sep 1993 17:54:20 +0000 (10:54 -0700)]
fixed compilation problems in bc_expand_decl_init
From-SVN: r5396
Kresten Krab Thorup [Wed, 22 Sep 1993 17:45:18 +0000 (17:45 +0000)]
(INITIALIZE_TRAMPOLINE): Append call to __enable_execute_stack.
(INITIALIZE_TRAMPOLINE): Append call to
__enable_execute_stack.
(CLEAR_INSN_CACHE): New macro.
From-SVN: r5395
Kresten Krab Thorup [Wed, 22 Sep 1993 17:44:56 +0000 (17:44 +0000)]
(__enable_execute_stack): Add case for NeXT/__MACH__.
From-SVN: r5394
Jan Brittenson [Wed, 22 Sep 1993 17:44:51 +0000 (10:44 -0700)]
Initial revision
From-SVN: r5393
Jan Brittenson [Wed, 22 Sep 1993 17:43:07 +0000 (10:43 -0700)]
fixed typo
From-SVN: r5392
Kresten Krab Thorup [Wed, 22 Sep 1993 17:43:00 +0000 (17:43 +0000)]
(__clear_cache): add case for new CLEAR_INSN_CACHE.
From-SVN: r5391
Kresten Krab Thorup [Wed, 22 Sep 1993 17:38:20 +0000 (17:38 +0000)]
(output_constructor): Use the type given by the constructor expression only if available.
(output_constructor): Use the type given
by the constructor expression only if available. Otherwise
use the type of the declared type.
From-SVN: r5390
Jan Brittenson [Wed, 22 Sep 1993 15:48:59 +0000 (08:48 -0700)]
Initial revision
From-SVN: r5389
Jan Brittenson [Wed, 22 Sep 1993 15:40:12 +0000 (08:40 -0700)]
fixed typo
From-SVN: r5388
Jan Brittenson [Wed, 22 Sep 1993 15:39:45 +0000 (08:39 -0700)]
added declaration for `trampoline' bytecode segment.
From-SVN: r5387
Jan Brittenson [Wed, 22 Sep 1993 15:27:20 +0000 (08:27 -0700)]
Initial revision
From-SVN: r5386
Richard Stallman [Wed, 22 Sep 1993 13:29:19 +0000 (13:29 +0000)]
(INIT_CUMULATIVE_ARGS): Pass just the return value type to aggregate_value_p.
From-SVN: r5385
Richard Stallman [Wed, 22 Sep 1993 13:28:37 +0000 (13:28 +0000)]
Comment change.
From-SVN: r5384
Richard Stallman [Wed, 22 Sep 1993 02:33:56 +0000 (02:33 +0000)]
(L_bb): Test inhibit_libc.
From-SVN: r5383
Richard Stallman [Wed, 22 Sep 1993 02:30:41 +0000 (02:30 +0000)]
(ENQUIRE, CROSS_TEST): New variables.
(all.cross): Use them.
From-SVN: r5382
Richard Stallman [Wed, 22 Sep 1993 02:28:05 +0000 (02:28 +0000)]
[CROSS_COMPILE]: Include mips/a.out.h.
From-SVN: r5381
Per Bothner [Wed, 22 Sep 1993 01:42:59 +0000 (18:42 -0700)]
Minor push_member_name improvement.
From-SVN: r5380
Jan Brittenson [Tue, 21 Sep 1993 21:25:24 +0000 (14:25 -0700)]
bytecode
From-SVN: r5379
Jan Brittenson [Tue, 21 Sep 1993 21:25:11 +0000 (14:25 -0700)]
Initial revision
From-SVN: r5378
Jan Brittenson [Tue, 21 Sep 1993 21:22:27 +0000 (14:22 -0700)]
*** empty log message ***
From-SVN: r5377
Richard Kenner [Tue, 21 Sep 1993 14:20:39 +0000 (10:20 -0400)]
(jump_optimize): Try putting RETURN at end of function both at start
and at end of our optimization.
From-SVN: r5376
Richard Stallman [Mon, 20 Sep 1993 21:24:17 +0000 (21:24 +0000)]
(expand_expr): Handle flag_volatile here.
From-SVN: r5375
Richard Stallman [Mon, 20 Sep 1993 21:23:53 +0000 (21:23 +0000)]
(build_indirect_ref): TREE_THIS_VOLATILE no longer depends on flag_volatile.
From-SVN: r5374
Richard Stallman [Mon, 20 Sep 1993 20:03:30 +0000 (20:03 +0000)]
entered into RCS
From-SVN: r5373
Doug Evans [Mon, 20 Sep 1993 19:24:39 +0000 (19:24 +0000)]
gstddef.h: Back out change of Sep 15 (handles Sun lossage).
Prevented bootstrapping.
From-SVN: r5372
Kresten Krab Thorup [Mon, 20 Sep 1993 10:27:23 +0000 (10:27 +0000)]
(objc_read_string): Allocate n+1 chars instead of just n.
From-SVN: r5371
Richard Kenner [Sun, 19 Sep 1993 20:30:06 +0000 (16:30 -0400)]
(rs6000_override_options): Fix typo.
From-SVN: r5370
Richard Kenner [Sun, 19 Sep 1993 20:26:39 +0000 (16:26 -0400)]
(function_unit fpu2): Fix typo: had `rios12'.
From-SVN: r5369
Richard Kenner [Sun, 19 Sep 1993 20:19:55 +0000 (16:19 -0400)]
(PREDICATE_CODES): Fix more typos.
From-SVN: r5368
Richard Kenner [Sun, 19 Sep 1993 20:12:12 +0000 (16:12 -0400)]
(pred): Fix additional typo in `comparison_operator'.
From-SVN: r5367
Richard Stallman [Sun, 19 Sep 1993 19:07:16 +0000 (19:07 +0000)]
(rtx_free): New function.
From-SVN: r5366
Richard Stallman [Sun, 19 Sep 1993 17:07:19 +0000 (17:07 +0000)]
(output_move_double): Handle register overlap
case that occur in soft-float XFmode.
From-SVN: r5365
Richard Kenner [Sun, 19 Sep 1993 16:50:43 +0000 (12:50 -0400)]
(preds): Correct typo in name of `comparison_operator'.
(add_to_sequence): If PREDICATE_CODES specified, warn if we find a predicate
not in that list.
From-SVN: r5364
Richard Kenner [Sun, 19 Sep 1993 16:48:55 +0000 (12:48 -0400)]
(find_reloads): Reject an alternative if two operands match the same
output and we have to do a reload.
From-SVN: r5363
Richard Kenner [Sun, 19 Sep 1993 15:44:28 +0000 (11:44 -0400)]
(attribute "cpu"): Change from "rios" to "rios1"; all uses changed.
From-SVN: r5362
Richard Kenner [Sun, 19 Sep 1993 15:43:53 +0000 (11:43 -0400)]
(rs6000_override_options): Change processor type to "rios1"; allow "rios" as synonym.
(rs6000_override_options): Change processor type to "rios1"; allow "rios"
as synonym.
Add synonyms for "mpc6xx".
From-SVN: r5361
Richard Kenner [Sun, 19 Sep 1993 15:43:02 +0000 (11:43 -0400)]
(enum processor_type): Change from RIOS to RIOS1.
(PROCESSOR_DEFAULT): Likewise.
From-SVN: r5360
Richard Stallman [Sun, 19 Sep 1993 15:33:20 +0000 (15:33 +0000)]
(objc-headers): Depend on stmp-fixinc to build the
include/ subdirectory first.
From-SVN: r5359
Richard Kenner [Sun, 19 Sep 1993 15:33:12 +0000 (11:33 -0400)]
Add extern declaration for alloca.
From-SVN: r5358
Richard Kenner [Sun, 19 Sep 1993 13:44:59 +0000 (09:44 -0400)]
(size_t): Acorn RISCiX requires __size_t defined.
From-SVN: r5357
Richard Kenner [Sun, 19 Sep 1993 13:08:00 +0000 (09:08 -0400)]
(PREDICATE_CODES): Fix typos and add missing entries.
From-SVN: r5356
Richard Kenner [Sat, 18 Sep 1993 22:25:10 +0000 (18:25 -0400)]
(REG_ALLOC_ORDER): Add missing entries.
From-SVN: r5355
Richard Kenner [Sat, 18 Sep 1993 20:52:40 +0000 (16:52 -0400)]
(recog_for_combine): Fix typos in previous change.
From-SVN: r5354
Richard Stallman [Sat, 18 Sep 1993 13:28:10 +0000 (13:28 +0000)]
(convert_move): Use emit_library_call_value.
From-SVN: r5353
Richard Kenner [Sat, 18 Sep 1993 11:57:54 +0000 (07:57 -0400)]
(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
Per Bothner [Sat, 18 Sep 1993 04:43:29 +0000 (21:43 -0700)]
(invert_truthvalue): Allow arbitrary BOOLEAN_TYPE arguments.
From-SVN: r5351
Richard Stallman [Sat, 18 Sep 1993 02:36:30 +0000 (02:36 +0000)]
(output_init_element): Update constructor_bit_index for union types.
From-SVN: r5350
Richard Stallman [Sat, 18 Sep 1993 00:39:21 +0000 (00:39 +0000)]
Declare __fixunsxfdi only if really have XFmode.
Likewise for __fixunstfdi.
From-SVN: r5349
Richard Kenner [Fri, 17 Sep 1993 22:19:59 +0000 (18:19 -0400)]
(recog_for_combine): Always reject a PARALLEL containing our special
CLOBBER.
From-SVN: r5348
Richard Kenner [Fri, 17 Sep 1993 22:13:33 +0000 (18:13 -0400)]
(fold_rtx, case MINUS): Copy result obtained from hash table.
From-SVN: r5347
Richard Kenner [Fri, 17 Sep 1993 22:10:33 +0000 (18:10 -0400)]
(fold_rtx, case SUBREG): If paradoxical SUBREG of a constant, return
the constant.
From-SVN: r5346
Richard Kenner [Fri, 17 Sep 1993 22:08:22 +0000 (18:08 -0400)]
(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
Per Bothner [Fri, 17 Sep 1993 20:06:27 +0000 (13:06 -0700)]
Better encoding of CHAR_TYPE and BOOLEAN_TYPE.
From-SVN: r5344
Richard Stallman [Fri, 17 Sep 1993 13:02:36 +0000 (13:02 +0000)]
(emit_library_call_value): Fix declaration.
From-SVN: r5343
Richard Stallman [Thu, 16 Sep 1993 17:35:50 +0000 (17:35 +0000)]
(find_reloads): For PLUS operand, call find_reloads_toplev.
From-SVN: r5342
Ian Lance Taylor [Thu, 16 Sep 1993 16:07:00 +0000 (16:07 +0000)]
Don't refix include files when xgcc is rebuilt
From-SVN: r5341
Richard Stallman [Thu, 16 Sep 1993 14:22:33 +0000 (14:22 +0000)]
(expand_complex_abs): Fix typo in prev change.
From-SVN: r5340
Jim Wilson [Thu, 16 Sep 1993 06:14:20 +0000 (23:14 -0700)]
(expand_goto): Set it.
From-SVN: r5339
Jim Wilson [Thu, 16 Sep 1993 06:13:54 +0000 (23:13 -0700)]
(function_cannot_inline_p): Don't inline if it's set.
From-SVN: r5338
Jim Wilson [Thu, 16 Sep 1993 06:13:29 +0000 (23:13 -0700)]
(struct function): New field has_nonlocal_goto.
From-SVN: r5337
Jim Wilson [Thu, 16 Sep 1993 06:12:57 +0000 (23:12 -0700)]
(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
Jim Wilson [Thu, 16 Sep 1993 06:11:29 +0000 (23:11 -0700)]
(current_function_has_nonlocal_goto): Declare.
From-SVN: r5335
Jim Wilson [Thu, 16 Sep 1993 06:05:28 +0000 (23:05 -0700)]
(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
Richard Stallman [Wed, 15 Sep 1993 22:09:57 +0000 (22:09 +0000)]
Declare __fixunstfdi.
From-SVN: r5333
Richard Stallman [Wed, 15 Sep 1993 21:39:20 +0000 (21:39 +0000)]
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
Jeff Law [Wed, 15 Sep 1993 20:16:33 +0000 (14:16 -0600)]
* pa.h (ASM_FILE_START): Fix access information for $LIT$ subspace.
From-SVN: r5331
Doug Evans [Wed, 15 Sep 1993 17:37:48 +0000 (17:37 +0000)]
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
Richard Stallman [Wed, 15 Sep 1993 13:40:11 +0000 (13:40 +0000)]
(find_reloads): Fix bugs in previous change.
From-SVN: r5329
Richard Stallman [Wed, 15 Sep 1993 13:39:18 +0000 (13:39 +0000)]
(aggregate_value_p): Allow type node as argument.
From-SVN: r5328
Richard Stallman [Wed, 15 Sep 1993 13:38:01 +0000 (13:38 +0000)]
(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
Richard Stallman [Wed, 15 Sep 1993 13:31:09 +0000 (13:31 +0000)]
(emit_library_call_value): Finish making it work.
From-SVN: r5326
Richard Stallman [Wed, 15 Sep 1993 13:30:09 +0000 (13:30 +0000)]
Declare __fixunsxfdi.
From-SVN: r5325
Richard Stallman [Wed, 15 Sep 1993 12:14:19 +0000 (12:14 +0000)]
(copy_for_inline, copy_rtx_and_substitute):
Always preserve the volatil flag when copying ASM_OPERANDS.
From-SVN: r5324
Jim Wilson [Wed, 15 Sep 1993 02:03:22 +0000 (19:03 -0700)]
(valid_compound_expr_initializer): New function.
(digest_init): Handle compound expressions as initializers when
pedantic.
From-SVN: r5323
Jim Wilson [Wed, 15 Sep 1993 01:56:04 +0000 (18:56 -0700)]
(immed_double_const, immed_real_const_1): Don't touch
const_double_chain if not inside a function.
From-SVN: r5322
Per Bothner [Tue, 14 Sep 1993 23:23:18 +0000 (16:23 -0700)]
(digest_init): Compare types using comptypes.
From-SVN: r5321
Richard Stallman [Tue, 14 Sep 1993 18:56:12 +0000 (18:56 +0000)]
(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
Richard Stallman [Tue, 14 Sep 1993 16:39:28 +0000 (16:39 +0000)]
(find_dummy_reload): New args inmode, outmode.
(find_reloads): Pass new args.
(push_reload): Likewise.
From-SVN: r5319
Richard Stallman [Tue, 14 Sep 1993 12:13:39 +0000 (12:13 +0000)]
(layout_record): Turn off PCC_BITFIELD_TYPE_MATTERS
rounding of field bitpos, if maximum_field_alignment is nonzero.
From-SVN: r5318
Richard Stallman [Mon, 13 Sep 1993 20:19:42 +0000 (20:19 +0000)]
(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
Richard Stallman [Mon, 13 Sep 1993 20:17:48 +0000 (20:17 +0000)]
(complete_array_type): Handle TREE_PURPOSE of array constructor elements.
From-SVN: r5316
Richard Stallman [Mon, 13 Sep 1993 20:16:51 +0000 (20:16 +0000)]
(store_constructor): Handle TREE_PURPOSE of array constructor.
(expand_expr, ARRAY_REF case): Likewise.
From-SVN: r5315
Richard Stallman [Mon, 13 Sep 1993 18:13:56 +0000 (18:13 +0000)]
(output_constructor): Handle index value in
the TREE_PURPOSE, for array constructors.
From-SVN: r5314
Per Bothner [Mon, 13 Sep 1993 06:01:37 +0000 (23:01 -0700)]
(expand_expr, ARRAY_REF): Coerce low_bound to sizetype.
From-SVN: r5313
Doug Evans [Sun, 12 Sep 1993 14:58:02 +0000 (14:58 +0000)]
(digest_init): Remove obsolete comments on args TAIL, OF_WHAT.
From-SVN: r5312
Richard Stallman [Sun, 12 Sep 1993 13:19:38 +0000 (13:19 +0000)]
(protect_from_queue): Don't alter an existing MEM.
(convert_modes): Use X's mode (not OLDMODE) unless it is VOIDmode.
From-SVN: r5311
Richard Stallman [Sun, 12 Sep 1993 13:08:35 +0000 (13:08 +0000)]
(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