PR rtl-optimization/57829
commitec7f90588aad39c32b0419281e12d3fd4dd81711
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jul 2013 08:11:08 +0000 (8 08:11 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jul 2013 08:11:08 +0000 (8 08:11 +0000)
tree313ca83a7db895760a39111d559cdb9fddfd83a0
parentab638c49baf23c89373838b0de1ae552268fbd89
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.

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