diff options
author | Roger Sayle <roger@eyesopen.com> | 2006-11-12 18:41:31 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-11-12 18:41:31 +0000 |
commit | 015e23f4005b00afaf87c90ef67db48b364fe70e (patch) | |
tree | b02ba3cb889c222125601c7fa415210e5d22fcf6 /gcc/c-incpath.c | |
parent | c0493b13fb859a27d5554c18ff11db2c1ebb7241 (diff) | |
download | gcc-015e23f4005b00afaf87c90ef67db48b364fe70e.zip gcc-015e23f4005b00afaf87c90ef67db48b364fe70e.tar.gz gcc-015e23f4005b00afaf87c90ef67db48b364fe70e.tar.bz2 |
re PR tree-optimization/13827 ((a & b) != (c & b) should be transformed to ((a^c) & b) !=0)
PR tree-optimization/13827
* fold-const.c (fold_binary) <EQ_EXPR, NE_EXPR>: Fold (X&C) op (Y&C)
as ((X^Y)&C) op 0.
* gcc.dg/fold-eqand-1.c: New test case.
From-SVN: r118727
Diffstat (limited to 'gcc/c-incpath.c')
0 files changed, 0 insertions, 0 deletions