]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/57829 (Wrong constant folding)
authorJakub Jelinek <jakub@redhat.com>
Mon, 8 Jul 2013 08:11:08 +0000 (10:11 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 8 Jul 2013 08:11:08 +0000 (10:11 +0200)
commit046f1eeec356d116ef3dcfc512d0ef8085efc8bf
tree313ca83a7db895760a39111d559cdb9fddfd83a0
parent466c212744b8307eef2e40272ceda90e8fc12f97
re PR rtl-optimization/57829 (Wrong constant folding)

PR rtl-optimization/57829
* simplify-rtx.c (simplify_binary_operation_1) <case IOR>: Ensure that
mask bits outside of mode are just sign-extension from mode to HWI.

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

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