re PR tree-optimization/33512 (Simple bitwise simplification missed)
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Sat, 23 Feb 2008 17:58:48 +0000 (17:58 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 23 Feb 2008 17:58:48 +0000 (09:58 -0800)
commitf79db4f66eba251456c2a9c2fc9d0daef1af9e90
treeee2a5464a8fd46288917b5f1ea33c72955e8af86
parentbb1f73c2d57ad7e535fe8dbcc52e2d3a3bc680de
re PR tree-optimization/33512 (Simple bitwise simplification missed)

2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR rtl-opt/33512
        * simplify-rtx.c (simplify_binary_operation_1): Add simplification
        of (and X (ior (not X) Y) and (and (ior (not X) Y) X).

2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR rtl-opt/33512
        * gcc.dg/and-1.c: New test.

From-SVN: r132575
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/and-1.c [new file with mode: 0644]