(fold_truthop): Treat a BIT_AND_EXPR with a constant of one as if it were surrounded...
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 26 Jun 1993 15:05:12 +0000 (11:05 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 26 Jun 1993 15:05:12 +0000 (11:05 -0400)
commit96d4cf0aced6b394b62fbdb765d7e484123e3e61
treebd82616890a26fef6a8d9b57b2f29c86a7362f68
parente9b3df3116138d36fdee587fe9c236e6f7d6d823
(fold_truthop): Treat a BIT_AND_EXPR with a constant of one as if it were surrounded with an NE_EXPR.

(fold_truthop): Treat a BIT_AND_EXPR with a constant of one as if it were
surrounded with an NE_EXPR.
(fold): Don't move operation into conditional if it is BIT_{AND,OR}_EXPR with
the constant 1; change it to TRUTH_*_EXPR instead.
When moving things inside conditions, move comparisons as well as binary
operations.
Don't make a SAVE_EXPR when moving things inside conditionals unless the value
would really have been used twice.

From-SVN: r4746
gcc/fold-const.c