re PR rtl-optimization/64957 (wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu)
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Feb 2015 11:36:34 +0000 (12:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 6 Feb 2015 11:36:34 +0000 (12:36 +0100)
commitd26ac279bca9a071d5f4de994b1dc8cd214335c2
tree17b7f8c04d0c1ad9c59b006581789e3b4b2fd576
parente3a7c6cf721d52efe1a80b83149edd8c66568841
re PR rtl-optimization/64957 (wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu)

PR rtl-optimization/64957
PR debug/64817
* simplify-rtx.c (simplify_binary_operation_1): Use ~cval for
IOR rather than for AND.

* gcc.c-torture/execute/pr64957.c: New test.

From-SVN: r220475
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr64957.c [new file with mode: 0644]