10666 Commits

Author SHA1 Message Date
Richard Kenner
0c9cabe7d4 (fold): Don't record overflow when negating unsigned constants.
From-SVN: r10779
1995-12-16 08:30:58 -05:00
Richard Kenner
e08e713766 (layout_record): When PCC_BITFIELD_TYPE_MATTERS, compute bitpos using
field_size % type_align instead of field_size.

From-SVN: r10778
1995-12-16 07:35:45 -05:00
Richard Kenner
ce805568cf (stdio.h): Fix return type of fread and fwrite on sysV68.
From-SVN: r10777
1995-12-16 07:03:25 -05:00
Richard Kenner
c46722a717 (fixup_var_refs_1): Fix two incorrect calls to single_set.
From-SVN: r10776
1995-12-16 06:57:01 -05:00
Stan Cox
9f541d35cf (AViiON): Add ix86-dg-dgux
From-SVN: r10744
1995-12-16 03:32:35 +00:00
Stan Cox
4befa6b603 Initial revision
From-SVN: r10743
1995-12-16 03:10:56 +00:00
Stan Cox
268bfa44d0 Use TARGET* macros.
From-SVN: r10742
1995-12-16 03:06:44 +00:00
Stan Cox
c8c5cb99de (override_options): Add -mcpu and -misa support
From-SVN: r10741
1995-12-16 03:06:03 +00:00
Stan Cox
241e1a89ac (TARGET_CPU_DEFAULT, PROCESSOR_*, TARGET_*,DOUBLE_WITH_ADD,BIT_TEST}): New macros.
From-SVN: r10740
1995-12-16 03:04:10 +00:00
Richard Kenner
f8e7d8e7c7 (sys/wait.h): Add forward declaration of struct rusage on AIX 3.2.5.
From-SVN: r10739
1995-12-15 18:41:43 -05:00
Richard Kenner
c9e39f3d12 (DO_GLOBAL_DTORS_BODY): Delete; obsolete.
From-SVN: r10738
1995-12-15 18:36:38 -05:00
Richard Kenner
4e911f0bbf main): Don't ignore an option merely because a language-specific option is a prefix of the option.
main): Don't ignore an option merely because a language-specific
option is a prefix of the option.  This catches typos like
`-fno-builtins'.

From-SVN: r10737
1995-12-15 18:30:39 -05:00
Stan Cox
40ae19b698 (i*86*) Change [345] to [3456]
From-SVN: r10736
1995-12-15 15:43:33 +00:00
Stan Cox
d4773242d7 (out_object_file): Add MAYBE_TARGET_DEFAULT.
From-SVN: r10735
1995-12-15 15:42:03 +00:00
Richard Kenner
adcd38c958 (rest_of_compilation): Call init_temp_slots.
From-SVN: r10734
1995-12-15 08:09:51 -05:00
Richard Kenner
bc0ebdf9ee (init_temp_slots): New function.
(init_function_start): Code moved to new function and called here.

From-SVN: r10733
1995-12-15 08:09:24 -05:00
Richard Kenner
1d269b0cdc (store_bit_field): Don't use insv for BLKmode value.
(store_split_bit_field): Set total_bits to BITS_PER_FOR for BLKmode value.

From-SVN: r10732
1995-12-15 08:05:34 -05:00
Richard Kenner
2afc5ce118 (DBX_STATIC_BLOCK_END): Use macro arguments.
(xcoff_begin_function_line, xcoff_current_function_file): Remove
unused extern declarations.
(DBX_OUTPUT_MAIN_SOURCE_FILENAME): Use macro argument.

From-SVN: r10731
1995-12-15 06:35:24 -05:00
Richard Kenner
d12de8cea3 (xcoff_begin_function_line): Make static.
(xcoff_inlining): Likewise.
(xcoff_current_function_file): Likewise.
(xcoff_output_standard_types): Remove TARGET_64BIT dependencies from
int and unsigned int.

From-SVN: r10730
1995-12-15 06:34:57 -05:00
Per Bothner
944420629e fix-header.c: Support different kinds of functions (ANSI and Posix1).
* fix-header.c:  Support different kinds of functions (ANSI and
Posix1).  Enable ANSI proptotypes if __STRICT_ANSI__.

From-SVN: r10729
1995-12-14 23:43:33 -08:00
Michael Meissner
8106dc0832 Fixes from Torbjorn/Dje
From-SVN: r10728
1995-12-15 00:23:39 +00:00
Torbjorn Granlund
34f016ed1f (expand_divmod...
(expand_divmod, case TRUNC_DIV_EXPR): Only reject
larger-than-HOST_BITS_PER_WIDE_INT modes for general constants,
not for powers-of-2.

From-SVN: r10727
1995-12-14 23:39:17 +00:00
Torbjorn Granlund
f20200f4bc (logic_operand): New function.
(i960_print_operand): Handle code `C'.

From-SVN: r10726
1995-12-14 23:16:23 +00:00
Torbjorn Granlund
82eaec4ab0 (PREDICATE_CODES): Add logic_operand.
(CONST_OK_FOR_LETTER_P): Handle `M'.
(SHIFT_COUNT_TRUNCATED): Define as 0 as appropriate.

From-SVN: r10725
1995-12-14 23:15:26 +00:00
Torbjorn Granlund
5d17176fdc (andsi3): Match op2 with logic_operand, change constraint accordingly.
(andsi3): Match op2 with logic_operand, change constraint
accordingly.  Output andnot for negative op2.
(iorsi3, xorsi3): Analogous changes.
Move all plain logical patterns together.

From-SVN: r10724
1995-12-14 23:14:22 +00:00
Richard Kenner
fb3ba99d63 (objc_alignof_type): Handle _C_PTR case.
From-SVN: r10723
1995-12-14 18:13:16 -05:00
Torbjorn Granlund
eeae1c7362 (untyped_call): New pattern.
From-SVN: r10722
1995-12-14 23:09:47 +00:00
Torbjorn Granlund
3f6ddf5456 (ashrsi_31): New pattern.
From-SVN: r10721
1995-12-14 23:08:23 +00:00
Richard Earnshaw
226a50517f arm/arm.c (output_move_double): Extract DFmode constants using
REAL_VALUE_TO_TARGET_DOUBLE.

From-SVN: r10720
1995-12-14 22:21:54 +00:00
Doug Evans
f92213c8c6 (CROSS_FLOAT_H): Delete.
From-SVN: r10719
1995-12-14 20:23:58 +00:00
Doug Evans
67446ffe25 * Makefile.in (distclean): Delete float.h
From-SVN: r10718
1995-12-14 20:12:12 +00:00
Doug Evans
32ebaaf09d Initial revision
From-SVN: r10717
1995-12-14 20:10:48 +00:00
Michael Meissner
fe6d5f6576 Fix typo
From-SVN: r10716
1995-12-14 01:31:57 +00:00
Mike Stump
3539e81693 * expr.c (expand_expr, case ADDR_EXPR): Ensure op0 isn't QUEUED.
From-SVN: r10715
1995-12-14 00:20:39 +00:00
Richard Kenner
c6b51be9d2 (my_strerror): Return "cannot access" if errno is 0.
(perror_with_name, pfatal_with_name, perror_exec): Don't assume that
the returned value from my_strerror contains no '%'s.
(sys_nerr): Declare only if HAVE_STRERROR is not defined.

From-SVN: r10714
1995-12-13 19:12:10 -05:00
Richard Kenner
493810116d (c-parse.y, objc-parse.y): Add warning that file is automatically generated.
From-SVN: r10713
1995-12-13 19:05:37 -05:00
Mike Stump
b2a59b1589 function.c (identify_blocks): Start with a chain of BLOCKs to match the rest of the backend (dbxout.c)...
* function.c (identify_blocks): Start with a chain of BLOCKs to
	match the rest of the backend (dbxout.c), instead of just one
	BLOCK.
	(reorder_blocks): Ditto.
	(all_blocks): Ditto.

	* stmt.c (find_loop_tree_blocks): Pass the toplevel list of
	blocks, not just the first subblock.
Fixes unroll1.C.

From-SVN: r10712
1995-12-14 00:00:20 +00:00
Ian Lance Taylor
869b061cfa Accept *-*-ieee*.
From-SVN: r10709
1995-12-13 21:43:08 +00:00
Richard Kenner
a45cf58ce9 (expand_divmod): Don't use TARGET if it's the wrong mode.
From-SVN: r10708
1995-12-13 16:11:05 -05:00
Ian Lance Taylor
8092a8e841 Define DBX_USE_BINCL.
From-SVN: r10707
1995-12-13 20:02:30 +00:00
Ian Lance Taylor
4bcaafd97b Output N_BINCL and N_EINCL stabs if DBX_USE_BINCL is defined.
From-SVN: r10706
1995-12-13 20:01:49 +00:00
Ian Lance Taylor
1a6281cb9c Call new dbxout functions when changing source files.
From-SVN: r10705
1995-12-13 20:00:25 +00:00
Michael Meissner
19d2d16f76 Use simpler functions instead of printf. INT_TYPE_SIZE is always 32. For NT, do not emit .extern for builtin functions
From-SVN: r10704
1995-12-13 12:03:00 +00:00
Doug Evans
8282721e69 (MULTILIB_{OPTIONS,DIRNAMES}): Add -mint32 support.
From-SVN: r10703
1995-12-12 18:57:58 +00:00
Per Bothner
c7b11bf8ee (powerpc-harris-powerunix): Add guess for port to new target.
From-SVN: r10700
1995-12-11 16:47:21 -08:00
Torbjorn Granlund
4d996755f6 (matcher for neg:SI (geu:SI ..)): Get ppc syntax right.
|

From-SVN: r10699
1995-12-10 23:50:32 +00:00
Richard Kenner
5be669c75a (simplify_if_then_else): Convert "a == b ? b : a" to "a".
From-SVN: r10698
1995-12-10 10:06:28 -05:00
Richard Kenner
05019f83a3 (expand_expr, case COMPONENT_REF): If result is BLKmode, use that to
access object too.

From-SVN: r10697
1995-12-10 09:51:54 -05:00
Richard Kenner
07604beb82 (expand_expr, case CONSTRUCTOR): If TREE_READONLY, set
RTX_UNCHANGING_P in TARGET.

From-SVN: r10696
1995-12-10 08:46:44 -05:00
Richard Kenner
5cb7a25a95 (expand_expr, case INDIRECT_REF): Correct typo in May 8 change.
From-SVN: r10695
1995-12-10 08:44:42 -05:00