Richard Kenner [Mon, 20 Jan 1997 02:19:04 +0000 (21:19 -0500)]
(set_float_handler): Set up signal catcher on first call in case a
front end has disabled it.
From-SVN: r13534
Richard Kenner [Mon, 20 Jan 1997 01:54:40 +0000 (20:54 -0500)]
(expand_inline_function): Handle a PARALLEL containing a RETURN the
same as a RETURN.
From-SVN: r13533
Richard Kenner [Mon, 20 Jan 1997 01:37:50 +0000 (20:37 -0500)]
Change all hardcoded references of "vax" to use variable expansion instead.
(arch_indx, arch): New variables.
From-SVN: r13532
Richard Kenner [Mon, 20 Jan 1997 01:34:35 +0000 (20:34 -0500)]
Support building with GNU C vs VAX C vs DEC C from the DCL command line.
From-SVN: r13531
Richard Kenner [Mon, 20 Jan 1997 01:33:32 +0000 (20:33 -0500)]
Declare alloca here.
Do most of the VAX C-specific set up for DEC C.
#if DEC C, undefine QSORT_WORKAROUND and qsort.
From-SVN: r13530
Richard Kenner [Mon, 20 Jan 1997 01:32:45 +0000 (20:32 -0500)]
(not_qsort): Don't declare alloca.
From-SVN: r13529
Richard Kenner [Sun, 19 Jan 1997 23:45:13 +0000 (18:45 -0500)]
(ashrdi_const, ashrdi3): Allow 31 as shift count.
From-SVN: r13528
Richard Kenner [Sun, 19 Jan 1997 22:20:47 +0000 (17:20 -0500)]
(add_1_to_mem): Deleted.
(output_operand_address): Added output modifier 'A'.
From-SVN: r13527
Richard Kenner [Sun, 19 Jan 1997 22:20:34 +0000 (17:20 -0500)]
(movh[if]-1): Corrected.
(movtqf-1): Deleted.
From-SVN: r13526
Richard Kenner [Sun, 19 Jan 1997 22:17:50 +0000 (17:17 -0500)]
(CONST_OK_FOR_LETTER_P): Recognize 'N', 'O' and 'P'.
From-SVN: r13525
Richard Kenner [Sun, 19 Jan 1997 22:17:16 +0000 (17:17 -0500)]
(rot[lr][shq]i3): Allow 'N', 'O' or 'P' operands.
From-SVN: r13524
Richard Kenner [Sun, 19 Jan 1997 22:09:11 +0000 (17:09 -0500)]
Fix previous change: {add,sub}qw should be {add,sub}ql.
Fix previous change: {add,sub}qw should be {add,sub}ql. For other uses
of {add,sub}q don't check for address register and always use
{add,sub}ql.
From-SVN: r13523
Richard Kenner [Sun, 19 Jan 1997 20:37:37 +0000 (15:37 -0500)]
#define __attribute__ to be null if compiling with GCC older than 2.7,
not 2.6.
From-SVN: r13522
Richard Kenner [Sun, 19 Jan 1997 20:31:50 +0000 (15:31 -0500)]
(PREFERRED_DEBUGGING_TYPE): Undefine.
From-SVN: r13521
Richard Kenner [Sun, 19 Jan 1997 20:31:19 +0000 (15:31 -0500)]
(main): If PREFERRED_DEBUGGING_TYPE used and set to NO_DEBUG, say
debugging not supported.
From-SVN: r13520
Richard Kenner [Sun, 19 Jan 1997 20:05:37 +0000 (15:05 -0500)]
(lang_options): Add -fhosted, -ffreestanding, and -Wmain.
From-SVN: r13519
Richard Kenner [Sun, 19 Jan 1997 20:05:05 +0000 (15:05 -0500)]
(warn_main, flag_hosted): New variables.
From-SVN: r13518
Richard Kenner [Sun, 19 Jan 1997 20:04:35 +0000 (15:04 -0500)]
(start_decl): Add code for -Wmain.
(c_decode_option): Add -fhosted, -ffreestanding, and -Wmain.
From-SVN: r13517
Richard Kenner [Sun, 19 Jan 1997 19:35:37 +0000 (14:35 -0500)]
Fix problems with symlinks to ".".
From-SVN: r13516
Richard Kenner [Sun, 19 Jan 1997 19:27:06 +0000 (14:27 -0500)]
Formerly extend.texi.~112~
From-SVN: r13515
Richard Kenner [Sun, 19 Jan 1997 19:21:38 +0000 (14:21 -0500)]
(check_final_value): Handle insns with no luid's.
From-SVN: r13514
Richard Kenner [Sun, 19 Jan 1997 19:09:01 +0000 (14:09 -0500)]
(DIR_SEPARATOR): Define.
From-SVN: r13513
Richard Kenner [Sun, 19 Jan 1997 19:05:11 +0000 (14:05 -0500)]
(save_constants): Make (address (const ..)) to record both modes.
(copy_for_inline, copy_rtx_and_substitute, restore_constants): Use
both modes when restoring constant pool entry for ADDRESS.
From-SVN: r13512
Richard Kenner [Sun, 19 Jan 1997 19:04:45 +0000 (14:04 -0500)]
(convert_memory_address, case SYMBOL_REF): Copy
CONSTANT_POOL_ADDRESS_P.
From-SVN: r13511
Richard Kenner [Sun, 19 Jan 1997 18:17:28 +0000 (13:17 -0500)]
(MINIMUM_ATOMIC_ALIGNMENT): New macro.
From-SVN: r13510
Richard Kenner [Sun, 19 Jan 1997 13:57:20 +0000 (08:57 -0500)]
(instantiate_virtual_regs_1...
(instantiate_virtual_regs_1, case USE, case CLOBBER): Properly handle
case of shared MEM whose replacement is not valid.
From-SVN: r13509
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