Commit Graph

11 Commits

Author SHA1 Message Date
Brendan Kehoe
10055ae243 Cygnus<-->FSF merge.
From-SVN: r3162
1993-01-08 21:03:56 -05:00
Richard Kenner
825638ba06 (convert_to_integer): Handle TRUTH_XOR_EXPR.
From-SVN: r2994
1992-12-30 06:02:43 -05:00
Richard Stallman
1f0c5cc9cf (convert_to_integer): Don't pass truncation thru lshift if shift count >= width of narrower type.
(convert_to_integer): Don't pass truncation thru lshift
if shift count >= width of narrower type.  Instead, just use 0.

From-SVN: r2104
1992-09-11 07:35:32 +00:00
Richard Stallman
d434a42c5b (convert_to_integer): When optimizing LSHIFT_EXPR and
RSHIFT_EXPR, do compares at tree level.

From-SVN: r2086
1992-09-09 06:56:35 +00:00
Richard Stallman
542bc952de (convert): When converting to variant of same type, fold.
From-SVN: r1824
1992-08-14 08:36:14 +00:00
Richard Stallman
412a4297f6 (convert): If main variants match,
but the type is not identical, make a NOP_EXPR.

From-SVN: r1725
1992-07-31 06:13:07 +00:00
Richard Stallman
dacaf84fda (convert): Succeed if TYPE is the main variant of the given type.
From-SVN: r1698
1992-07-28 02:19:08 +00:00
Richard Kenner
f3964bb8a3 (convert_to_integer): Don't add a NOP_EXPR in cases where we can
simply change the type of the entire tree.

From-SVN: r1616
1992-07-17 06:37:06 -04:00
Richard Stallman
a0cf02b4bc (convert_to_integer): Push truncation inside COND_EXPR.
From-SVN: r1609
1992-07-17 04:26:02 +00:00
Tom Wood
cc0218f78f entered into RCS
From-SVN: r812
1992-04-21 18:00:03 +00:00
Richard Stallman
0e48b5a21b Initial revision
From-SVN: r247
1992-01-29 03:42:48 +00:00