re PR middle-end/71626 (ICE at -O1 and above on x86_64-linux-gnu (in output_constant_...
authorJakub Jelinek <jakub@redhat.com>
Tue, 28 Jun 2016 18:31:42 +0000 (20:31 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 28 Jun 2016 18:31:42 +0000 (20:31 +0200)
commit6a20b538f2a02e01b311af1dade9cea6a58d815e
tree1be87707017143ec34f68b003b3c04ca10dcc4b5
parent0f0f4f914dc0c6667b1ee57ca9461fc26ec67bb3
re PR middle-end/71626 (ICE at -O1 and above on x86_64-linux-gnu (in output_constant_pool_2, at varasm.c:3837))

PR middle-end/71626
* config/i386/i386.c (ix86_expand_vector_move): For SUBREG of
a constant, force its SUBREG_REG into memory or register instead
of whole op1.

* gcc.c-torture/execute/pr71626-1.c: New test.
* gcc.c-torture/execute/pr71626-2.c: New test.

From-SVN: r237826
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr71626-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/pr71626-2.c [new file with mode: 0644]