* simplify-rtx.c (simplify_binary_operation_1): Do not simplify
commit2d079d1884af4a38dba15d1bae87879b53dca431
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Aug 2012 19:42:58 +0000 (8 19:42 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Aug 2012 19:42:58 +0000 (8 19:42 +0000)
treef82056df4dc04830c81662f47e83708d553a056f
parentc401b1310cf7d4f437a7041eecbefe96aac66445
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190237 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20120808-1.c [new file with mode: 0644]