]> git.ipfire.org Git - thirdparty/gcc.git/commit
simplify-rtx.c (simplify_binary_operation_1): Do not simplify IOR to a constant if...
authorJoseph Myers <joseph@codesourcery.com>
Wed, 8 Aug 2012 19:42:58 +0000 (20:42 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 8 Aug 2012 19:42:58 +0000 (20:42 +0100)
commite7160b278e87d5ae5b270a790e8611554b9c3348
treef82056df4dc04830c81662f47e83708d553a056f
parent215770ada8310953eb90e2369b796263dcf5f770
simplify-rtx.c (simplify_binary_operation_1): Do not simplify IOR to a constant if one operand has side effects.

* simplify-rtx.c (simplify_binary_operation_1): Do not simplify
IOR to a constant if one operand has side effects.

testsuite:
* gcc.c-torture/execute/20120808-1.c: New test.

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