re PR rtl-optimization/83682 (ICE in simplify_subreg, at simplify-rtx.c:6296)
authorJakub Jelinek <jakub@redhat.com>
Sat, 6 Jan 2018 07:47:32 +0000 (08:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 6 Jan 2018 07:47:32 +0000 (08:47 +0100)
commit8fec4d222f0a35925bfdc4641612120b06d51c59
tree952e2f159dfca22d9d68337bfb8c144769897cce
parentdba9c1fd276c07cd6a7cd432d71140931fa44c83
re PR rtl-optimization/83682 (ICE in simplify_subreg, at simplify-rtx.c:6296)

PR rtl-optimization/83682
* rtl.h (const_vec_duplicate_p): Only return true for VEC_DUPLICATE
if it has non-VECTOR_MODE element mode.
(vec_duplicate_p): Likewise.

* gcc.target/i386/pr83682.c: New test.

From-SVN: r256308
gcc/ChangeLog
gcc/rtl.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr83682.c [new file with mode: 0644]