]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR middle-end/71626 (ICE at -O1 and above on x86_64-linux-gnu (in output...
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 Jul 2016 21:53:12 +0000 (23:53 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Jul 2016 21:53:12 +0000 (23:53 +0200)
commitbd4820334785b8144d33ba3d663c1bf1f0aab210
tree074155dc693383513c84633e2d0d3dc0ece8ceb6
parent17642b8d352f88bfb3133f8015c8650d87a40fff
backport: re PR middle-end/71626 (ICE at -O1 and above on x86_64-linux-gnu (in output_constant_pool_2, at varasm.c:3837))

Backported from mainline
2016-06-28  Jakub Jelinek  <jakub@redhat.com>

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: r238145
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]