re PR target/64252 (expand_vec_perm_pblendv caused miscompilation)
authorJakub Jelinek <jakub@redhat.com>
Wed, 10 Dec 2014 19:59:57 +0000 (20:59 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 10 Dec 2014 19:59:57 +0000 (20:59 +0100)
commit3ec5dd98f08168f9230127008432286b8dc4f035
treed54c53776e186ff70c8489b5d3bf203c8f6a4c0d
parente90f3d6cfcedc769001a5aaae91cf9135790dc46
re PR target/64252 (expand_vec_perm_pblendv caused miscompilation)

PR target/64252
* config/i386/i386.c (expand_vec_perm_pblendv): If not testing_p,
set dcopy.target to a new pseudo.

* gcc.dg/vect/pr64252.c: New test.
* gcc.dg/pr64252.c: New test.
* gcc.target/i386/avx2-pr64252.c: New test.

Co-Authored-By: Evgeny Stupachenko <evstupac@gmail.com>
From-SVN: r218602
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr64252.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/pr64252.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx2-pr64252.c [new file with mode: 0644]