Richard Kenner [Sat, 18 Jan 1997 20:58:48 +0000 (15:58 -0500)]
(get_unwidened): Don't crash if FIELD_DECL not layed out.
From-SVN: r13508
Richard Kenner [Sat, 18 Jan 1997 19:08:26 +0000 (14:08 -0500)]
(const_hash): Treat NON_LVALUE_EXPR like CONVERT_EXPR.
(compare_constant_1, copy_constant, bc_assemble_integer): Likewise.
(const_hash, compare_constant_1): Use switch, not if-then-else.
From-SVN: r13507
Doug Evans [Fri, 17 Jan 1997 23:28:54 +0000 (23:28 +0000)]
Remove i386 reference.
From-SVN: r13506
Ian Lance Taylor [Fri, 17 Jan 1997 22:11:11 +0000 (22:11 +0000)]
Don't define STACK_POINTER_OFFSET; just use the default value
From-SVN: r13505
Michael Meissner [Thu, 16 Jan 1997 23:59:37 +0000 (23:59 +0000)]
Fix typo.
From-SVN: r13504
Mike Stump [Thu, 16 Jan 1997 23:12:53 +0000 (23:12 +0000)]
cplus-dem.c: Fix indenting; note that this file also lives in libiberty.
* cplus-dem.c: Fix indenting; note that this file also lives in
libiberty.
(do_type, case 'M'): Check for a template as well as a class.
From-SVN: r13503
Michael Meissner [Thu, 16 Jan 1997 22:15:53 +0000 (22:15 +0000)]
Cleanup specs support
From-SVN: r13502
Doug Evans [Thu, 16 Jan 1997 22:07:23 +0000 (22:07 +0000)]
Initial revision
From-SVN: r13501
Doug Evans [Thu, 16 Jan 1997 21:54:03 +0000 (21:54 +0000)]
Add linux support.
From-SVN: r13500
Michael Meissner [Thu, 16 Jan 1997 20:47:28 +0000 (20:47 +0000)]
Use eabi.h, not sysv.h
From-SVN: r13499
Jim Wilson [Thu, 16 Jan 1997 18:39:45 +0000 (10:39 -0800)]
(LINKER_ENDIAN_SPEC): Define.
(LINK_SPEC): Add linker_endian_spec.
(EXTRA_SPECS): Add linker_endian_spec.
From-SVN: r13498
Michael Meissner [Thu, 16 Jan 1997 16:05:32 +0000 (16:05 +0000)]
Fix copyright msg.
From-SVN: r13497
Jeff Law [Thu, 16 Jan 1997 15:05:37 +0000 (08:05 -0700)]
mn10300.md (bCC, [...]): Use bCC .+X instead of bCC 0f.
* mn10300/mn10300.md (bCC, inverted bCC): Use bCC .+X instead
of bCC 0f.
From-SVN: r13496
Ian Lance Taylor [Wed, 15 Jan 1997 19:08:54 +0000 (19:08 +0000)]
Initialize reload_address_{base,index}_reg_class
From-SVN: r13495
Ian Lance Taylor [Wed, 15 Jan 1997 19:08:08 +0000 (19:08 +0000)]
Use reload_address_{base,index}_reg_class when reloading an address
From-SVN: r13494
Ian Lance Taylor [Wed, 15 Jan 1997 19:07:11 +0000 (19:07 +0000)]
Declare reload_address_{base,index}_reg_class
From-SVN: r13493
Ian Lance Taylor [Tue, 14 Jan 1997 20:38:34 +0000 (20:38 +0000)]
Add support for REG[NO]_MODE_OK_FOR_BASE_P
From-SVN: r13492
Ian Lance Taylor [Tue, 14 Jan 1997 20:35:27 +0000 (20:35 +0000)]
Handle more cases when eliminating the FP to the hard FP
From-SVN: r13491
Ian Lance Taylor [Tue, 14 Jan 1997 20:32:22 +0000 (20:32 +0000)]
Copy a CONST_INT rtx in force_const_mem
From-SVN: r13490
Ian Lance Taylor [Tue, 14 Jan 1997 20:28:45 +0000 (20:28 +0000)]
Add support for new target macro CONSTANT_AFTER_FUNCTION_P
From-SVN: r13489
David Edelsohn [Mon, 13 Jan 1997 21:41:50 +0000 (21:41 +0000)]
add -D_AIX41 CPP definition
From-SVN: r13488
Jim Wilson [Mon, 13 Jan 1997 02:11:22 +0000 (18:11 -0800)]
(PREDICATE_CODES): Add complemented_arith_operand.
From-SVN: r13487
Jim Wilson [Mon, 13 Jan 1997 02:10:52 +0000 (18:10 -0800)]
(complemented_arith_operand): New function.
(print_operand): Handle `e' for CONST_INT.
From-SVN: r13486
Jim Wilson [Mon, 13 Jan 1997 02:03:49 +0000 (18:03 -0800)]
(norsi3, nordi3): Use canonical RTL.
(norsi3, nordi3): Use canonical RTL. Prepend `*' to pattern
name. Don't match immediates.
(norsi3_const, nordi3_const): New patterns.
(anddi3, iordi3, xordi3): Test TARGET_64BIT, not mips_isa
in length attribute calculation.
From-SVN: r13485
Jim Wilson [Mon, 13 Jan 1997 01:53:39 +0000 (17:53 -0800)]
(LINK_SPEC): Delete.
(STARTFILE_SPEC): Delete spurious newline.
From-SVN: r13484
David Edelsohn [Fri, 10 Jan 1997 19:09:45 +0000 (19:09 +0000)]
-mthreads and -mpe support
From-SVN: r13483
Richard Kenner [Fri, 10 Jan 1997 12:19:18 +0000 (07:19 -0500)]
(LINK_SPEC): New definition.
From-SVN: r13482
Richard Kenner [Fri, 10 Jan 1997 12:16:56 +0000 (07:16 -0500)]
(FLAGS_TO_PASS): Add STAGE_PREFIX, set by configure.
From-SVN: r13481
Richard Kenner [Fri, 10 Jan 1997 12:12:18 +0000 (07:12 -0500)]
(dwarfout_line): Push to LINE_SECTION after calling lookup_filename.
From-SVN: r13480
Stan Cox [Thu, 9 Jan 1997 18:00:12 +0000 (18:00 +0000)]
Use SImode instead of HImode if aligned.
From-SVN: r13479
Jason Merrill [Tue, 7 Jan 1997 21:58:22 +0000 (21:58 +0000)]
x
From-SVN: r13478
David J. MacKenzie [Tue, 7 Jan 1997 19:29:28 +0000 (19:29 +0000)]
Add hppa1.1-hitachi-hiuxmpp support, passed along by rms.
From-SVN: r13390
Richard Kenner [Mon, 6 Jan 1997 20:44:34 +0000 (15:44 -0500)]
(movhi): Corrected case of moving constant to memory.
From-SVN: r13389
Richard Kenner [Mon, 6 Jan 1997 20:44:18 +0000 (15:44 -0500)]
Now includes regs.h.
({movcnt,mod}_regno_adjust): Corrected typos.
From-SVN: r13388
Richard Kenner [Mon, 6 Jan 1997 13:38:52 +0000 (08:38 -0500)]
Delete redundant definitions of compiler and library fns.
From-SVN: r13387
Richard Kenner [Mon, 6 Jan 1997 13:35:03 +0000 (08:35 -0500)]
(type_attribute): Ignore any subtype for now.
From-SVN: r13386
Richard Kenner [Mon, 6 Jan 1997 13:00:51 +0000 (08:00 -0500)]
(operand_equal_p): Rework to consider two expressions that have embedded identical SAVE_EXPRs as equivalent...
(operand_equal_p): Rework to consider two expressions that have
embedded identical SAVE_EXPRs as equivalent; also handle some more
cases.
From-SVN: r13385
Jeff Law [Mon, 6 Jan 1997 07:01:49 +0000 (00:01 -0700)]
pa.md (pic_load_label): Fix test for using just an ldo rather than an addil;ldo sequence to load the...
* pa/pa.md (pic_load_label): Fix test for using just an
ldo rather than an addil;ldo sequence to load the label's
address.
From-SVN: r13384
Richard Kenner [Sun, 5 Jan 1997 12:26:37 +0000 (07:26 -0500)]
(expand_expr, case COMPONENT_REF): Fix error in last change: don't
suppress conversion if just EXPAND_SUM.
From-SVN: r13383
Miles Bader [Sun, 5 Jan 1997 03:44:26 +0000 (03:44 +0000)]
(*:GNU:*:*):
The machine/subtype separator printed by uname -m is now `-', not '/'.
From-SVN: r13379
Richard Kenner [Sun, 5 Jan 1997 03:33:30 +0000 (22:33 -0500)]
(struct tree_decl): saved_insns.i is HOST_WIDE_INT.
From-SVN: r13378
Richard Kenner [Sun, 5 Jan 1997 03:27:13 +0000 (22:27 -0500)]
(const_binop): Rework to only make constants in one place; always use size_int if small enough and of sizetype.
(const_binop): Rework to only make constants in
one place; always use size_int if small enough and of sizetype.
(size_int): Call force_fit_type.
(fold): Avoid ever changing type of input tree.
From-SVN: r13377
Richard Kenner [Sun, 5 Jan 1997 03:21:27 +0000 (22:21 -0500)]
(staticp, case COMPONENT_REF, BIT_FIELD_REF): Not static if bitfield.
From-SVN: r13376
Richard Kenner [Sun, 5 Jan 1997 03:21:00 +0000 (22:21 -0500)]
(get_inner_reference): Fix type error.
(expand_expr, case COMPONENT_REF): Don't convert if modifier
is EXPAND_CONST_ADDRESS, EXPAND_SUM, or EXPAND_INITIALIZER.
From-SVN: r13375
Richard Kenner [Sun, 5 Jan 1997 03:15:48 +0000 (22:15 -0500)]
(integer_pow2): Mask value to width of type.
(tree_log2): New function.
From-SVN: r13374
Richard Kenner [Sun, 5 Jan 1997 03:12:25 +0000 (22:12 -0500)]
(expand_expr, case COMPONENT_REF): If taking value from a CONSTRUCTOR,
must mask/sign-extend if bitfield.
(expand_builtin, case BUILT_IN_LONGJMP): Pass type, not IDENTIFIER,
to send arg of RETURN_POPS_ARGS.
From-SVN: r13373
Richard Kenner [Sun, 5 Jan 1997 03:03:27 +0000 (22:03 -0500)]
(expand_expr, case COND_EXPR): Add additional cases to "singleton"
cases.
From-SVN: r13372
Richard Kenner [Sat, 4 Jan 1997 23:58:26 +0000 (18:58 -0500)]
(store_fixed_bit_field): If not SLOW_UNALIGNED_ACCESS, treat
everything as maximally aligned.
From-SVN: r13371
Richard Kenner [Sat, 4 Jan 1997 23:48:04 +0000 (18:48 -0500)]
(find_split_point, case SET): If SET_SRC is NE and STORE_FLAG_VALUE is -1, see if we can convert into NEG of shift.
(find_split_point, case SET): If SET_SRC is NE and
STORE_FLAG_VALUE is -1, see if we can convert into NEG of shift.
(force_to_mode, case NE): Make condition stricter.
From-SVN: r13370
Richard Kenner [Sat, 4 Jan 1997 23:43:56 +0000 (18:43 -0500)]
(emit_library_call_value): Remove redundant check for outmode !=
VOIDmode.
From-SVN: r13369
Karl Berry [Sat, 4 Jan 1997 19:24:13 +0000 (19:24 +0000)]
Oops, did inadvertent branch.
From-SVN: r13368
Richard Kenner [Sat, 4 Jan 1997 13:15:46 +0000 (08:15 -0500)]
(addsi3...
(addsi3, addhi3): Use two addqw (or subqw) insns when adding (or
subtracting) small integer constants (8 < N <= 16) to both address and
data registers.
From-SVN: r13367
Richard Kenner [Sat, 4 Jan 1997 13:12:13 +0000 (08:12 -0500)]
(output_function_{pro,epi}logue): Use addq/subq when adjusting stack
pointer by small displacements.
From-SVN: r13366
Richard Kenner [Sat, 4 Jan 1997 12:05:57 +0000 (07:05 -0500)]
(basic_induction_var): Return 0 if SUBREG is not a promoted variable.
From-SVN: r13365
Richard Kenner [Sat, 4 Jan 1997 11:34:45 +0000 (06:34 -0500)]
(ENDFILE_SPEC): Use "gnu", not "gnu_cc".
From-SVN: r13364
Richard Kenner [Sat, 4 Jan 1997 11:34:23 +0000 (06:34 -0500)]
(vmskrunch): Try to not chop trailing uppercase letters.
From-SVN: r13363
Richard Kenner [Sat, 4 Jan 1997 11:22:32 +0000 (06:22 -0500)]
(PRINTF_PROTO): Use __printf__ in __attribute__, not printf.
From-SVN: r13362
Richard Kenner [Fri, 3 Jan 1997 16:13:19 +0000 (11:13 -0500)]
(rtx_equal_for_thread_p): Return 0 for floating-point.
From-SVN: r13361
Richard Kenner [Fri, 3 Jan 1997 15:50:25 +0000 (10:50 -0500)]
(find_reloads): If replaced a PLUS or MULT with a simple operand,
start over again.
From-SVN: r13360
Richard Kenner [Fri, 3 Jan 1997 14:00:55 +0000 (09:00 -0500)]
(cmov): Fix operand numbers in case involving DF target, DF
comparison, SF source.
From-SVN: r13359
Richard Kenner [Fri, 3 Jan 1997 13:38:47 +0000 (08:38 -0500)]
(M68*:*:R3V[567]*:*): Use uppercase 'M'.
From-SVN: r13357
Richard Kenner [Fri, 3 Jan 1997 13:19:34 +0000 (08:19 -0500)]
(macroexpand): Delete any no-reexpansion marker that follows an identifier at...
(macroexpand): Delete any no-reexpansion marker that follows an
identifier at the beginning of an argument that is concatenated with
what precedes it.
From-SVN: r13356
Richard Kenner [Fri, 3 Jan 1997 12:59:13 +0000 (07:59 -0500)]
(fill_slots_from_thread): Skip moved insn in all three cases.
From-SVN: r13355
Richard Kenner [Fri, 3 Jan 1997 12:51:40 +0000 (07:51 -0500)]
(struct function): New field args_info.
From-SVN: r13354
Richard Kenner [Fri, 3 Jan 1997 12:51:07 +0000 (07:51 -0500)]
(push_function_context_to, pop_function_context_from): Save and
restore current_function_args_info.
From-SVN: r13353
Richard Kenner [Fri, 3 Jan 1997 11:55:06 +0000 (06:55 -0500)]
Check for __VMS__, not VMS.
From-SVN: r13352
Ian Lance Taylor [Tue, 31 Dec 1996 20:54:33 +0000 (20:54 +0000)]
Handle mips-unknown-linux-gnu
From-SVN: r13348
Ian Lance Taylor [Tue, 31 Dec 1996 20:51:53 +0000 (20:51 +0000)]
Recognize mips-unknown-linux-gnu
From-SVN: r13347
Jeff Law [Tue, 31 Dec 1996 00:14:56 +0000 (17:14 -0700)]
pa.c (fmpy_operands): Remove.
* pa/pa.c (fmpy_operands): Remove. No longer needed.
(combinable_add, combinable_copy, combinable_fmpy): Likewise.
(combinable_fadd, combineable_fsub): Likewise.
(pa_reorg): Call pa_combine_instructions.
(pa_combine_instructions): Combine instructions to make things
like fmpyadd and fmpysub.
(pa_can_combine_p): Helper function for pa_combine_instructions.
* pa/pa.md (pa_combine_type): New attribute. Set it appropriately
for various insns.
(define_delays): Use a separate define_delay for unconditional
branches.
(fmpyadd, fmpysub peepholes): Remove, no longer needed.
(fmpyadd, fmpysub insns): Add variant with fadd/fsub first,
then the fmpy.
From-SVN: r13346
Jim Wilson [Mon, 30 Dec 1996 19:55:54 +0000 (11:55 -0800)]
(subst_stack_regs_pat): Set src_note explicitly, instead
of using invalid aggregate initialization.
From-SVN: r13345
Jim Wilson [Mon, 30 Dec 1996 19:42:59 +0000 (11:42 -0800)]
(print_node): Don't try to print nonexistent
TYPE_ATTRIBUTES field of a decl node.
From-SVN: r13344
Mike Stump [Fri, 27 Dec 1996 19:34:34 +0000 (19:34 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13343
Michael Meissner [Thu, 26 Dec 1996 21:31:18 +0000 (21:31 +0000)]
Set length of V.4 pic initialization
From-SVN: r13342
Jim Wilson [Tue, 24 Dec 1996 01:59:00 +0000 (17:59 -0800)]
(FUNCTION_ARG_REGNO_P): Correct for TARGET_SOFT_FLOAT and
TARGET_FLOAT64 cases.
From-SVN: r13341
Jim Wilson [Tue, 24 Dec 1996 00:38:22 +0000 (16:38 -0800)]
(function_cannot_inline_p): Reject function with PARALLEL result.
(function_cannot_inline_p): Reject function with
PARALLEL result.
(expand_inline_function): Abort if function result not handled.
From-SVN: r13340
Jason Merrill [Sat, 21 Dec 1996 12:06:53 +0000 (12:06 +0000)]
x
From-SVN: r13339
Brendan Kehoe [Fri, 20 Dec 1996 20:26:35 +0000 (20:26 +0000)]
g++spec.c (lang_specific_driver): Put missing hyphen in front of arguments we compare against.
* g++spec.c (lang_specific_driver): Put missing hyphen in front of
arguments we compare against. Start the count of I at 1, not 0,
since argv[0] is still the command.
From-SVN: r13338
Jeff Law [Wed, 18 Dec 1996 17:32:12 +0000 (10:32 -0700)]
mn10300.c (notice_update_cc): Enable this code.
* mn10300/mn10300.c (notice_update_cc): Enable this code.
* mn10300/mn10300.h (CC_OVERFLOW_UNUSABLE): Define.
* mn10300/mn10300.md (tstsi): Use "set_zn_c0" instead of "set"
for cc status.
(addsi3 pattern): Break "inc" into two different alternatives
since "inc dn" sets cc0, but "inc an" does not.
(multiply and divide patterns): Fix cc status.
(bCC, inverted bCC): Restore any comparison which needs the
overflow bits when CC_OVERFLOW_UNUSABLE is set.
(zero and sign extensions): Fix cc status.
(movm_store): Likewise.
From-SVN: r13337
Ulrich Drepper [Wed, 18 Dec 1996 03:22:53 +0000 (03:22 +0000)]
update from main archive 961217
From-SVN: r13322
Mike Stump [Wed, 18 Dec 1996 02:46:25 +0000 (02:46 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13321
Mike Stump [Wed, 18 Dec 1996 02:45:53 +0000 (02:45 +0000)]
Initial revision
From-SVN: r13320
Mike Stump [Wed, 18 Dec 1996 01:44:21 +0000 (01:44 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13319
Jim Wilson [Tue, 17 Dec 1996 20:02:06 +0000 (12:02 -0800)]
(update_flow_info): When add REG_DEAD notes for dest of
last insn, add check for global_regs.
From-SVN: r13318
Michael Meissner [Tue, 17 Dec 1996 16:07:11 +0000 (16:07 +0000)]
Delete HAS_INIT_SECTION
From-SVN: r13317
Paul Eggert [Tue, 17 Dec 1996 06:25:17 +0000 (06:25 +0000)]
Spelling fix.
From-SVN: r13315
Jim Wilson [Tue, 17 Dec 1996 02:25:39 +0000 (18:25 -0800)]
(nonzero_bits): Ifdef out calls to num_sign_bit_copies.
Add dummy define/undef for num_sign_bit_copies.
From-SVN: r13314
Jim Wilson [Mon, 16 Dec 1996 21:02:01 +0000 (13:02 -0800)]
(location_or_const_value_attribute, case CONCAT): Add.
From-SVN: r13313
Jim Wilson [Mon, 16 Dec 1996 20:27:35 +0000 (12:27 -0800)]
(simplify_comparison): Use mode_width as shift count
only if it is less than or equal to HOST_BITS_PER_WIDE_INT.
From-SVN: r13312
Jeff Law [Mon, 16 Dec 1996 17:18:18 +0000 (10:18 -0700)]
mn10300.c (expand_epilogue): Restore registers in the "ret" instruction instead of a separate movm instruction.
* mn10300/mn10300.c (expand_epilogue): Restore registers in the
"ret" instruction instead of a separate movm instruction.
Support possible stack deallocation in "ret" instruction too.
* mn10300.md (return_internal): Use "ret" instead of "rets";
restore registers and deallocate stack as needed.
(load_movm): Delete unused pattern.
* mn10300/mn10300.h (SMALL_REGISTER_CLASSES): Define.
From-SVN: r13311
Jason Merrill [Sat, 14 Dec 1996 00:45:54 +0000 (00:45 +0000)]
remove accidental change
From-SVN: r13310
Stan Cox [Fri, 13 Dec 1996 21:36:14 +0000 (21:36 +0000)]
(CONST_SECTION_ASM_OP): Add .align 1
From-SVN: r13309
Stan Cox [Fri, 13 Dec 1996 21:31:19 +0000 (21:31 +0000)]
(override_options): Set default for -mcpu to PROCESSOR_DEFAULT_STRING.
From-SVN: r13308
Joern Rennecke [Fri, 13 Dec 1996 19:46:28 +0000 (19:46 +0000)]
(dect): Rewrite pattern so that it can be combined.
From-SVN: r13307
Ian Lance Taylor [Fri, 13 Dec 1996 18:15:16 +0000 (18:15 +0000)]
Call ASM_OUTPUT_POOL_EPILOGUE after outputting the constant pool
From-SVN: r13306
Jason Merrill [Fri, 13 Dec 1996 01:31:47 +0000 (01:31 +0000)]
x
From-SVN: r13305
Ian Lance Taylor [Fri, 13 Dec 1996 01:28:42 +0000 (01:28 +0000)]
Check CONSTANT_POOL_BEFORE_FUNCTION to control placement of constant
pool
From-SVN: r13304
Ian Lance Taylor [Fri, 13 Dec 1996 01:05:20 +0000 (01:05 +0000)]
Define SMALL_REGISTER_CLASSES with a value
From-SVN: r13303
Ian Lance Taylor [Fri, 13 Dec 1996 01:00:49 +0000 (01:00 +0000)]
Check SMALL_REGISTER_CLASSES at runtime
From-SVN: r13302
Richard Kenner [Thu, 12 Dec 1996 22:55:05 +0000 (17:55 -0500)]
(maybe_get_identifier): New declaration.
From-SVN: r13301
Richard Kenner [Thu, 12 Dec 1996 22:52:13 +0000 (17:52 -0500)]
(emit_library_call): Don't pass VOIDmode to type_for_mode.
From-SVN: r13300