Commit Graph

13102 Commits

Author SHA1 Message Date
Richard Kenner
0802d51684 (simplify_rtx): Don't do anything with if_then_else_cond result if both one arm and the input are a comparison.
(simplify_rtx): Don't do anything with if_then_else_cond
result if both one arm and the input are a comparison.
(simplify_{rtx,if_then_else,logical,shift_const}): Don't
test STORE_FLAG_VALUE with #if; properly test for just sign bit.
(num_sign_bit_copies, if_then_else_cond): Likewise.

From-SVN: r13551
1997-01-27 09:04:16 -05:00
Ian Lance Taylor
91674c376c Garbage collect constant pool entries and don't output unnecessary ones
From-SVN: r13550
1997-01-24 21:43:41 +00:00
Ian Lance Taylor
38734e55b3 Get the right COST for a SUBREG when truncating
From-SVN: r13549
1997-01-23 20:05:52 +00:00
Mike Stump
26bbb20697 Makefie.in (objc-headers): Don't try and install the headers if the objc directory has been removed.
* Makefie.in (objc-headers): Don't try and install the headers if
        the objc directory has been removed.

From-SVN: r13548
1997-01-23 19:22:24 +00:00
Paul Eggert
158c9e5893 automatically generated from GPLed version
From-SVN: r13547
1997-01-23 04:23:12 +00:00
Brendan Kehoe
69ce75dc0d i960.c (process_pragma): Call ungetc on the last character that was read by the while loop...
* i960/i960.c (process_pragma): Call ungetc on the last character
	that was read by the while loop, to make sure the parser sees it.

From-SVN: r13546
1997-01-22 16:30:20 -05:00
Paul Eggert
888302dbe4 automatically generated from GPLed version
From-SVN: r13545
1997-01-22 05:25:31 +00:00
Michael Meissner
9ec30f9223 update copyright.
From-SVN: r13544
1997-01-21 22:36:23 +00:00
Michael Meissner
2e4eb9b08e Fix handling of vt if -mminimal-toc
From-SVN: r13543
1997-01-21 22:26:06 +00:00
Mike Stump
de22184bb2 90th Cygnus<->FSF quick merge
From-SVN: r13542
1997-01-21 21:32:30 +00:00
Richard Kenner
85b119d1b7 (mark_all_temps_used): Set KEEP as well.
From-SVN: r13541
1997-01-21 16:03:29 -05:00
Doug Evans
b5fa331476 stor-layout.c (layout_record): Correct test for whether field spans its unit of alignment in case where...
* stor-layout.c (layout_record): Correct test for whether
	field spans its unit of alignment in case where
	field_size == type_align.

From-SVN: r13540
1997-01-21 18:21:05 +00:00
Doug Evans
a12f68f4f2 reload1.c (eliminate_regs, case MINUS): Canonicalize (minus (plus reg const) reg) to (plus (minus reg reg) const).
* reload1.c (eliminate_regs, case MINUS): Canonicalize
	(minus (plus reg const) reg) to (plus (minus reg reg) const).
	* reload.c (find_reloads_address): Treat (plus (minus reg reg) const)
	the same as (plus (plus reg reg) const).

From-SVN: r13539
1997-01-21 17:15:54 +00:00
Ian Lance Taylor
e454beb74e Comment out stack probe insn
From-SVN: r13538
1997-01-21 01:28:50 +00:00
Richard Kenner
a01dce9a42 Fix editing error in last change.
From-SVN: r13537
1997-01-19 22:18:33 -05:00
Richard Kenner
73fef4fe21 (SETUP_INCOMING_VARARGS): Delete duplicate definition.
From-SVN: r13536
1997-01-19 21:31:33 -05:00
Richard Kenner
9b80d951ca (arg_home): Add CLOBBER of MEM and USE of arg regs.
From-SVN: r13535
1997-01-19 21:31:13 -05:00
Richard Kenner
3bbfa29694 (set_float_handler): Set up signal catcher on first call in case a
front end has disabled it.

From-SVN: r13534
1997-01-19 21:19:04 -05:00
Richard Kenner
299b54ba04 (expand_inline_function): Handle a PARALLEL containing a RETURN the
same as a RETURN.

From-SVN: r13533
1997-01-19 20:54:40 -05:00
Richard Kenner
4bfe969bc7 Change all hardcoded references of "vax" to use variable expansion instead.
(arch_indx, arch): New variables.

From-SVN: r13532
1997-01-19 20:37:50 -05:00
Richard Kenner
c14685bf85 Support building with GNU C vs VAX C vs DEC C from the DCL command line.
From-SVN: r13531
1997-01-19 20:34:35 -05:00
Richard Kenner
d7fd107380 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
1997-01-19 20:33:32 -05:00
Richard Kenner
825d29359d (not_qsort): Don't declare alloca.
From-SVN: r13529
1997-01-19 20:32:45 -05:00
Richard Kenner
b85079b76e (ashrdi_const, ashrdi3): Allow 31 as shift count.
From-SVN: r13528
1997-01-19 18:45:13 -05:00
Richard Kenner
72eaa7a090 (add_1_to_mem): Deleted.
(output_operand_address): Added output modifier 'A'.

From-SVN: r13527
1997-01-19 17:20:47 -05:00
Richard Kenner
a9cd25ec35 (movh[if]-1): Corrected.
(movtqf-1): Deleted.

From-SVN: r13526
1997-01-19 17:20:34 -05:00
Richard Kenner
d8fa884b8e (CONST_OK_FOR_LETTER_P): Recognize 'N', 'O' and 'P'.
From-SVN: r13525
1997-01-19 17:17:50 -05:00
Richard Kenner
e62db39c0a (rot[lr][shq]i3): Allow 'N', 'O' or 'P' operands.
From-SVN: r13524
1997-01-19 17:17:16 -05:00
Richard Kenner
a388a7aa66 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
1997-01-19 17:09:11 -05:00
Richard Kenner
883dc89ca6 #define __attribute__ to be null if compiling with GCC older than 2.7,
not 2.6.

From-SVN: r13522
1997-01-19 15:37:37 -05:00
Richard Kenner
c0298b551f (PREFERRED_DEBUGGING_TYPE): Undefine.
From-SVN: r13521
1997-01-19 15:31:50 -05:00
Richard Kenner
e38eaffd19 (main): If PREFERRED_DEBUGGING_TYPE used and set to NO_DEBUG, say
debugging not supported.

From-SVN: r13520
1997-01-19 15:31:19 -05:00
Richard Kenner
5ae3bec5ee (lang_options): Add -fhosted, -ffreestanding, and -Wmain.
From-SVN: r13519
1997-01-19 15:05:37 -05:00
Richard Kenner
92fce8f5f8 (warn_main, flag_hosted): New variables.
From-SVN: r13518
1997-01-19 15:05:05 -05:00
Richard Kenner
b8705e613b (start_decl): Add code for -Wmain.
(c_decode_option): Add -fhosted, -ffreestanding, and -Wmain.

From-SVN: r13517
1997-01-19 15:04:35 -05:00
Richard Kenner
8189a222b1 Fix problems with symlinks to ".".
From-SVN: r13516
1997-01-19 14:35:37 -05:00
Richard Kenner
af3e86c245 Formerly extend.texi.~112~
From-SVN: r13515
1997-01-19 14:27:06 -05:00
Richard Kenner
6217f6130a (check_final_value): Handle insns with no luid's.
From-SVN: r13514
1997-01-19 14:21:38 -05:00
Richard Kenner
421fec1235 (DIR_SEPARATOR): Define.
From-SVN: r13513
1997-01-19 14:09:01 -05:00
Richard Kenner
15e13f2cef (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
1997-01-19 14:05:11 -05:00
Richard Kenner
d7dc4377ee (convert_memory_address, case SYMBOL_REF): Copy
CONSTANT_POOL_ADDRESS_P.

From-SVN: r13511
1997-01-19 14:04:45 -05:00
Richard Kenner
d16fe557cb (MINIMUM_ATOMIC_ALIGNMENT): New macro.
From-SVN: r13510
1997-01-19 13:17:28 -05:00
Richard Kenner
4fd796bbb5 (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
1997-01-19 08:57:20 -05:00
Richard Kenner
02a27e82af (get_unwidened): Don't crash if FIELD_DECL not layed out.
From-SVN: r13508
1997-01-18 15:58:48 -05:00
Richard Kenner
a9d07d6e65 (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
1997-01-18 14:08:26 -05:00
Doug Evans
19b38e0407 Remove i386 reference.
From-SVN: r13506
1997-01-17 23:28:54 +00:00
Ian Lance Taylor
9711629615 Don't define STACK_POINTER_OFFSET; just use the default value
From-SVN: r13505
1997-01-17 22:11:11 +00:00
Michael Meissner
fcc9ad83f6 Fix typo.
From-SVN: r13504
1997-01-16 23:59:37 +00:00
Mike Stump
5d64469294 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
1997-01-16 23:12:53 +00:00
Michael Meissner
79aff5ac0d Cleanup specs support
From-SVN: r13502
1997-01-16 22:15:53 +00:00