2004-07-07 Andrew Pinski <apinski@apple.com>
PR tree-optimization/15777
* fold-const.c (fold_single_bit_test): Fold the x^1 expression.
From-SVN: r84231
2004-07-07 Andrew Pinski <apinski@apple.com>
+ PR tree-optimization/15777
+ * fold-const.c (fold_single_bit_test): Fold the x^1 expression.
+
* expr.c (expand_expr_real_1): Fix formating.
BUFFER_REF and IN_EXPR are dead.
* fold-const.c (non_lvalue): BUFFER_REF is dead.
inner, size_int (bitnum));
if (code == EQ_EXPR)
- inner = build2 (BIT_XOR_EXPR, intermediate_type,
- inner, integer_one_node);
+ inner = fold (build2 (BIT_XOR_EXPR, intermediate_type,
+ inner, integer_one_node));
/* Put the AND last so it can combine with more things. */
inner = build2 (BIT_AND_EXPR, intermediate_type,