Commit Graph

7323 Commits

Author SHA1 Message Date
Ian Lance Taylor
639010aff2 Make OSF/1 getopt.h fix work on AIX also
From-SVN: r7336
1994-05-19 19:09:56 +00:00
Jason Merrill
629025f9f2 (FIXPROTO_DEFINES): Set to -D_XOPEN_SOURCE.
From-SVN: r7335
1994-05-18 23:08:30 +00:00
Jason Merrill
e93ce7d416 Use ${FIXPROTO_DEFINES}.
From-SVN: r7334
1994-05-18 23:08:30 +00:00
Jason Merrill
aefc3801c2 (FIXPROTO_DEFINES): New variable: extra #defines for fixproto to use.
(FIXPROTO_DEFINES): New variable: extra #defines for
        fixproto to use.
        (stmp-fixproto): Pass it.

From-SVN: r7333
1994-05-18 23:08:30 +00:00
Jason Merrill
9ae435031b (FIXPROTO_DEFINES): Set to -D__EXTENSIONS__.
From-SVN: r7332
1994-05-18 23:08:30 +00:00
Jason Merrill
68f6ed7f20 Add forward declaration of struct exception to
SunOS 4 math.h.

From-SVN: r7331
1994-05-18 22:33:40 +00:00
Per Bothner
b02cb287c9 Allow any integral type for bitfields (such as booleans).
From-SVN: r7330
1994-05-18 13:51:28 -07:00
Richard Kenner
1d1a832c5c (compare_spill_regs): Fix typo in declaration.
From-SVN: r7329
1994-05-18 16:32:20 -04:00
Brendan Kehoe
e827cf7a71 get rid of CYGNUS LOCAL comment
From-SVN: r7328
1994-05-18 14:05:32 -04:00
Brendan Kehoe
b9e64ed323 fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when compiling for C++...
* fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when
        compiling for C++, since g++ now supports it as an official typename.

From-SVN: r7327
1994-05-18 13:54:24 -04:00
Jason Merrill
607ca0aac3 #define NO_IMPLICIT_EXTERN_C
From-SVN: r7326
1994-05-18 06:46:33 +00:00
Jason Merrill
b722f2b857 (convert_to_real): Accept boolean values.
From-SVN: r7325
1994-05-18 06:46:33 +00:00
Richard Kenner
b89a6f69c3 (__umoddi3): Correct type of variable `w'.
From-SVN: r7324
1994-05-17 18:56:16 -04:00
Richard Kenner
246e00f2ff (simplify_set): Move call to make_field_assignment to end; if SRC or DEST is a (clobber (const_int 0)), return it.
(simplify_set): Move call to make_field_assignment to end; if SRC or DEST is
a (clobber (const_int 0)), return it.
(force_to_mode): If X is a CALL, just return it.

From-SVN: r7323
1994-05-17 18:51:25 -04:00
Richard Kenner
c0d3ac4db6 (simplify_set): Use rtx_equal_p to compare cc_use and its setter.
(make_extraction): Don't put a subreg around a register if it is already in
the correct mode.

From-SVN: r7322
1994-05-17 18:12:05 -04:00
Richard Kenner
10670d47c6 Don't use the extsd/extd instructions on the ns32532.
From-SVN: r7321
1994-05-17 18:06:24 -04:00
Richard Kenner
6baa89b548 (CFLAGS): Separate include file handling; for stage 1, CFLAGS1 is
appended to CFLAGS, otherwise CFLAGS2.

From-SVN: r7320
1994-05-17 17:44:33 -04:00
Richard Kenner
9d926da563 (find_reloads): Properly account for cost when constant is forced to
memory to ensure same alternative chosen later.

From-SVN: r7319
1994-05-17 15:51:48 -04:00
Richard Kenner
a533969946 (compare_spill_regs): New function.
(reload_as_needed): Sort the spilled regs.
(allocate_reload_reg): If we have group needs and failure would be fatal, do
not try to do round-robin allocation of the spill regs.

From-SVN: r7318
1994-05-17 11:30:03 -04:00
Richard Kenner
58e09803ed (zero_extendqidi2): Fix omission of TARGET_POWERPC64 test in previous
change.

From-SVN: r7317
1994-05-16 18:57:55 -04:00
Richard Stallman
adc3b521ec (enumlist): Add error alternative.
From-SVN: r7316
1994-05-16 22:38:23 +00:00
Per Bothner
71b54b5302 (dbxout_type): Write non-default precision of of ENUMERAL_TYPEs.
From-SVN: r7315
1994-05-16 15:23:11 -07:00
Richard Kenner
bc29e2ad03 (split_double): Fix arg of REAL_VALUE_TO_TARGET_DOUBLE.
From-SVN: r7314
1994-05-16 17:52:21 -04:00
Richard Kenner
60e6116515 (ereal_from_int, ereal_to_int, etarsingle): Correct signed/unsigned discrepancies.
(ereal_from_int, ereal_to_int, etarsingle):  Correct signed/unsigned
discrepancies.
(ereal_from_double): Avoid "right shift count too big" warning in previous
change.

From-SVN: r7313
1994-05-16 17:51:44 -04:00
Richard Kenner
04ae9e4ccd (ereal_from_float, .._double): Change arg from long to HOST_WIDE_INT
and unpack the HOST_WIDE_INTs.

From-SVN: r7312
1994-05-16 17:44:34 -04:00
Richard Kenner
403cd5d7f8 (REAL_VALUE_FROM_TARGET_SINGLE, .._DOUBLE): Change arg from long to
HOST_WIDE_INT.

From-SVN: r7311
1994-05-16 17:43:38 -04:00
Richard Kenner
8e1e69c865 (rs6000_convert_preincs): Delete.
From-SVN: r7310
1994-05-16 16:27:09 -04:00
Richard Kenner
4255474beb (FINAL_PRESCAN_INSN): Delete.
From-SVN: r7309
1994-05-16 16:26:46 -04:00
Richard Kenner
89861c3867 (try_pre_increment_1): Don't try to create a pre-increment expression
if the register dies in the succeeding insn.

From-SVN: r7308
1994-05-16 16:21:39 -04:00
Richard Kenner
4ac0968744 Use #ifdef TARGET_EDOM, not #if.
From-SVN: r7307
1994-05-16 16:18:54 -04:00
Richard Kenner
930b4e398e (convert_move): When {zero,sign}_extending, allow a wider intermediate
than to_mode if truncation is a no-op.

From-SVN: r7306
1994-05-16 16:16:12 -04:00
Richard Kenner
9c4dcbc7d3 (initializer_constant_valid_p): Rework to use precision, not size.
Allow conversions from integer to pointer if int is wide enough.

From-SVN: r7305
1994-05-16 15:48:07 -04:00
Doug Evans
c96ea4a5f4 (REGISTER_PREFIX_MD): Delete.
From-SVN: r7304
1994-05-16 15:48:37 +00:00
Richard Kenner
59116212bf (finish_enum): Handle VALUES being an ERROR_MARK.
From-SVN: r7303
1994-05-16 08:25:28 -04:00
Richard Kenner
005a35b93f Replace bogus "andil" opcode with rlinm.
From-SVN: r7302
1994-05-16 08:11:30 -04:00
Doug Evans
56b5e76bfb (stupid_life_analysis): Make sure a function result reg
is still live if it contains an argument.

From-SVN: r7301
1994-05-15 01:25:47 +00:00
Doug Evans
4d367579cc (find_cross_jump): Two CALL_INSNs only compare equal if
their CALL_INSN_FUNCTION_USAGEs are the same as well.

From-SVN: r7300
1994-05-15 01:24:39 +00:00
Doug Evans
5384893b18 (GO_IF_HARD_REG_EQUAL): Fix typo.
From-SVN: r7299
1994-05-15 01:23:12 +00:00
Doug Evans
44a965f646 (mark_referenced_resources, case CALL_INSN): Fix indentation.
From-SVN: r7298
1994-05-15 01:21:08 +00:00
Doug Evans
91cae90df6 (mark_referenced_resources): Fix typo.
From-SVN: r7297
1994-05-14 02:17:22 +00:00
Jason Merrill
f6bad6ff73 (integrate_decl_tree): Use copy_node to make a copy of the decl.
(integrate_decl_tree): Use copy_node to make a copy
        of the decl.  Also call copy_lang_decl to copy the
        language-specific bits.

From-SVN: r7296
1994-05-14 01:56:51 +00:00
Jason Merrill
78b099bdf3 Declare copy_lang_decl.
From-SVN: r7295
1994-05-14 01:56:51 +00:00
Jason Merrill
37105bebb4 (copy_lang_decl): No-op function that will never
actually be called.

From-SVN: r7294
1994-05-14 01:56:51 +00:00
Jason Merrill
fb48b1f0d3 (truthvalue_conversion): If expr is a BIT_AND_EXPR
where one of the operands is integer_onep, just return expr.

From-SVN: r7293
1994-05-13 20:30:24 +00:00
Richard Kenner
6cdbaec41b (cse_insn): Correctly check for two modes being the same number of
words.

From-SVN: r7292
1994-05-13 15:12:01 -04:00
Mike Stump
95da80ce80 Initial revision
From-SVN: r7291
1994-05-13 02:57:30 +00:00
Mike Stump
a4443a0855 37th Cygnus<->FSF merge
From-SVN: r7290
1994-05-13 02:46:07 +00:00
Mike Stump
5dab5552a1 calls.c (expand_call): Only destroy temporaries at the end of function calls, if flag_short_temps is set.
* calls.c (expand_call): Only destroy temporaries at the end
        of function calls, if flag_short_temps is set.
        * expr.c (safe_from_p, expand_expr): Handle CLEANUP_POINT_EXPRs.
        * expr.c (expand_expr): Improve handling of temporaries inside
        COND_EXPRs, cures call to sorry.
        * expr.c (defer_cleanups_to): New routine to handle the deferral
        of cleanups.
        * flags.h (flag_short_temps): New flag, to allow better control
        over the lifetime of temporaries.
        * toplev.c (flag_short_temps, lang_options): Ditto.
        * tree.def (CLEANUP_POINT_EXPR): Add, to allow better control over
        the lifetime of temporaries.

From-SVN: r7289
1994-05-13 00:19:57 +00:00
Richard Kenner
51b8fc2c69 (function units): Numerous cycle count change.
(zero_extendqidi2, extendqidi2, zero_extendhidi2): New patterns.
(extendhidi2, zero_extendsidi2, extendsidi2): Likewise.
(zero_extendqisi2, zero_extendqihi2, zero_extendhisi2): Use
andil/andi instead of rlinm/rlwinm.
(zero_extendqihi2): Add condition register variants.
(extendqisi2, extendqihi2): Use extsb for PowerPC.
(adddi3, subdi3, negdi2, ashrdi3): Emulate only if !TARGET_POWERPC64.
(movdf, movdi, movti): New PowerPC64 versions.
(load/store with update): New PowerPC64 patterns.

From-SVN: r7288
1994-05-12 19:33:39 -04:00
Richard Earnshaw
8de7634efb Richard Earnshaw (rwe11@cl.cam.ac.uk)
From-SVN: r7287
1994-05-12 19:14:37 -04:00