re PR rtl-optimization/78526 (ICE: in decompose, at rtl.h:2117 with -g -mavx512bw)
authorJakub Jelinek <jakub@redhat.com>
Fri, 25 Nov 2016 18:56:50 +0000 (19:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 25 Nov 2016 18:56:50 +0000 (19:56 +0100)
commitad7a69db52391cf141d0f6da6042a5fc7d8d54c3
tree4e8bede402cccf7bce29a92ae701c2921ec7488a
parentc620cf89a822c4c6a7d56ea26a618a472252b2f6
re PR rtl-optimization/78526 (ICE: in decompose, at rtl.h:2117 with -g -mavx512bw)

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.

From-SVN: r242882
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr78526.c [new file with mode: 0644]