Commit Graph

7997 Commits

Author SHA1 Message Date
Per Bothner
b5d11e41da stor-layout.c (set_alignment): New global.
* stor-layout.c (set_alignment):  New global.
(layout-type):  Add support for SET_TYPE.

From-SVN: r8010
1994-08-31 17:15:03 -07:00
Per Bothner
94d6511c61 stmt.c (all_cases_count, [...]): New functions.
* stmt.c (all_cases_count, mark_seen_cases):  New functions.
(BITARRAY_TEST, BITARRAY_SET):  New macros.  Used (mainly by
Chill) to check all cases are covered (for enums and ranges).
(check_for_full_enumeration_handling):  Re-write to use the
new functions, now that we have them.

From-SVN: r8009
1994-08-31 16:42:28 -07:00
Jason Merrill
91378b76fd (warn_if_unused_value): Extend special case for casted
MODIFY_EXPRs to apply to INIT_EXPRs as well.

From-SVN: r8008
1994-08-31 23:38:37 +00:00
Per Bothner
ad83e87b61 expmed.c (store_bit_field): Semi-revert Aug 25 change: Make it apply only for BLKmode, not integral modes.
* expmed.c (store_bit_field):  Semi-revert Aug 25 change:
Make it apply only for BLKmode, not integral modes.

From-SVN: r8007
1994-08-31 16:29:53 -07:00
Richard Kenner
318b149cf7 (nonzero_bits, cases DIV, MOD, UDIV, UMOD): Declare op0_maybe_minusp
and op1_maybe_minusp as HOST_WIDE_INT.

From-SVN: r8006
1994-08-31 19:17:29 -04:00
Richard Kenner
4db3bddcbe (store_split_bit_field): Always adjust arg to extract_fixed_bit_field
in BYTES_BIG_ENDIAN case.

From-SVN: r8005
1994-08-31 18:54:44 -04:00
Stan Cox
56929fbd65 Some assemblers put a "." before pseudo-ops
From-SVN: r8004
1994-08-31 13:53:39 +00:00
Roland McGrath
3427d6e599 (LIB_SPEC): New macro.
From-SVN: r8003
1994-08-31 06:49:30 +00:00
Jason Merrill
8bec060292 Add -Wreorder
From-SVN: r8002
1994-08-30 23:36:05 +00:00
Jeff Law
8b2e69e1af * combine.c (simplify_comparison, case GEU): Add missing break.
From-SVN: r8001
1994-08-30 11:56:39 -06:00
Richard Kenner
d251be987e (extv, extzv): Don't use ROTL when field is outside boundaries of a
word.

From-SVN: r8000
1994-08-29 17:50:48 -04:00
Stan Cox
35104543b4 Added coff and elf support.
From-SVN: r7999
1994-08-29 21:43:34 +00:00
Stan Cox
fd39ad06e4 Initial revision
From-SVN: r7998
1994-08-29 19:25:21 +00:00
Kresten Krab Thorup
f6df50cfd6 (objc_get_meta_class): New function.
From-SVN: r7997
1994-08-29 15:43:01 +00:00
Kresten Krab Thorup
2691a6224f (get_imp): don't inline on i386.
From-SVN: r7996
1994-08-29 15:42:11 +00:00
Per Bothner
f529652cf9 Various fixes (freebsd, ncr, nextstep): See ChangeLog.
From-SVN: r7995
1994-08-28 18:19:13 -07:00
Michael Meissner
91f0226f7c Fix indexing off arg ptr & push of byte values.
From-SVN: r7994
1994-08-28 03:22:52 +00:00
Per Bothner
e9954ee434 (netbsd, freebsd, linux): Accept any machine, not just i[34]86.
From-SVN: r7993
1994-08-26 16:19:19 -07:00
Richard Kenner
405fc2388c Recognize powerpc-ibm-aix3.2.5.
From-SVN: r7992
1994-08-26 18:45:20 -04:00
Per Bothner
703d9877a6 Merges from Cygnus version.
From-SVN: r7991
1994-08-26 15:21:31 -07:00
Michael Meissner
2f2a49e848 Add -mno-wide-multiply, -mno-move, make addresses more compatible with other parts of compiler.
From-SVN: r7990
1994-08-26 20:01:41 +00:00
Michael Meissner
3b3c6a3f3e Add -mno-wide-multiply, -mno-move, make addresses more compatible with other parts of compiler.
From-SVN: r7989
1994-08-26 19:56:14 +00:00
Richard Stallman
e8e1942ade entered into RCS
From-SVN: r7988
1994-08-26 00:40:24 +00:00
Richard Stallman
3ddde22680 *** empty log message ***
From-SVN: r7987
1994-08-26 00:30:33 +00:00
Richard Stallman
d9b63ad47b *** empty log message ***
From-SVN: r7986
1994-08-26 00:27:53 +00:00
Per Bothner
556a4cb2c9 Always store into multi-word bitfields starting with low addresses.
From-SVN: r7985
1994-08-25 17:15:35 -07:00
Richard Kenner
af3869c1cc (record_jump_cond): Don't do anything if OP0 and OP1 are already
equivalent.

From-SVN: r7984
1994-08-25 19:21:18 -04:00
Richard Kenner
b278301b1b (may_trap_p, case EXPR_LIST): New case.
From-SVN: r7983
1994-08-25 18:48:42 -04:00
Richard Kenner
8d60a67df2 (CALL_USED_REGS): Add d2 and d3 as call-used.
From-SVN: r7982
1994-08-25 18:31:16 -04:00
Richard Kenner
5af6001b5e (shorten_compare): Don't issue warning if both operands constants and the...
(shorten_compare): Don't issue warning if both operands constants and
the signedness doesn't affect the comparison results.

From-SVN: r7981
1994-08-25 17:43:46 -04:00
Richard Kenner
96a31ab889 (print_node): Print more flags for types and decls.
From-SVN: r7980
1994-08-25 11:47:10 -04:00
Richard Kenner
ea3373cd2d (type_lists_compatible_p): Treat transparent unions just like unnamed
ones.

From-SVN: r7979
1994-08-25 11:30:29 -04:00
Charles Hannum
e0a9205103 Revert pc532 handling.
From-SVN: r7978
1994-08-25 00:37:35 +00:00
Charles Hannum
5f52f851f9 Rearrange handling of NetBSD ports.
From-SVN: r7977
1994-08-25 00:24:48 +00:00
Charles Hannum
496034bfd2 Add da30-* for da30-unknown-netbsd*.
From-SVN: r7976
1994-08-24 23:27:35 +00:00
Charles Hannum
140a480aaa Remove mac68k-*.
From-SVN: r7975
1994-08-24 23:19:42 +00:00
Richard Kenner
002bdd6c05 (expand_call): Check for variable-sized return value in proper place.
From-SVN: r7974
1994-08-24 19:16:12 -04:00
Richard Kenner
7063dcbeb7 (print_node_brief...
(print_node_brief, print_node): Use assignment instead of
initialization for aggregate local variable REAL_VALUE_TYPE d.

From-SVN: r7973
1994-08-24 18:43:25 -04:00
Ian Lance Taylor
5748cda9cb Define ASM_OUTPUT_SECTION_NAME
From-SVN: r7972
1994-08-24 22:30:43 +00:00
Ian Lance Taylor
4ad24b993d Add #alloc to ASM_OUTPUT_SECTION_NAME
From-SVN: r7971
1994-08-24 22:30:29 +00:00
Richard Kenner
d4424a75ec (default_conversion): Don't substitute constant value if array since
will return address.

From-SVN: r7970
1994-08-24 18:28:40 -04:00
Richard Kenner
aff2a12b70 (parmlist_2): Give error for function with only ELLIPSIS as an
argument.

From-SVN: r7969
1994-08-24 17:45:11 -04:00
Richard Kenner
dc5627bf6a (STARTFILE_SPEC): Add %{static:-static}.
From-SVN: r7968
1994-08-24 17:36:18 -04:00
Richard Kenner
cc2394a432 (call): Rework to use macro version of jsr.
From-SVN: r7967
1994-08-24 17:15:04 -04:00
Richard Kenner
6bcf5f0a60 (call_operand): New function.
(output_epilog): Don't set SYMBOL_REF_FLAG of current function.

From-SVN: r7966
1994-08-24 17:13:28 -04:00
Richard Kenner
ac030a7b0c (EXTRA_CONSTRAINT): Add new letter, `R'.
(ENCODE_SECTION_INFO): Don't check TREE_ASM_WRITTEN.
(PREDICATE_COSTS): Add call_operand.

From-SVN: r7965
1994-08-24 17:11:41 -04:00
Richard Kenner
7eec3328e2 (push_init_level): Don't blow up if construct_type is null (can happen
with missing brace).

From-SVN: r7964
1994-08-24 14:34:20 -04:00
Michael Meissner
716b516278 Undo previous change to REG_ALLOC_ORDER.
From-SVN: r7963
1994-08-24 14:47:50 +00:00
Charles Hannum
b8592c8eb7 *** empty log message ***
From-SVN: r7962
1994-08-24 04:23:07 +00:00
Charles Hannum
bafceb93e8 Add NetBSD support.
From-SVN: r7961
1994-08-24 04:07:50 +00:00