PR rtl-optimization/78526
commit3b3f59e250846d477a7e8d62e50464a9fef6d05c
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Nov 2016 18:56:50 +0000 (25 18:56 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Nov 2016 18:56:50 +0000 (25 18:56 +0000)
tree4e8bede402cccf7bce29a92ae701c2921ec7488a
parent1718371b5e4b4dd30d4bd5dc64d48ea36dbacdca
PR rtl-optimization/78526
* simplify-rtx.c (simplify_immed_subreg): Don't use wi::extract_uhwi
beyond val's precision.

* gcc.dg/pr78526.c: New test.

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