OSDN Git Service

PR rtl-optimization/57829
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jul 2013 08:17:35 +0000 (08:17 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jul 2013 08:17:35 +0000 (08:17 +0000)
commitf5e42cf786d650a883aa2fc1f9aea2e7c69f228f
tree29301a3d8534bfe0b8004b785d42c58c60bd55b4
parentc95545d6e2b1a7ab600b82427030dcd8a7db74ac
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/branches/gcc-4_7-branch@200773 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]