re PR tree-optimization/71823 (g++ segfaults with -mfma and -ftree-slp-vectorize)
authorJakub Jelinek <jakub@redhat.com>
Mon, 11 Jul 2016 20:37:18 +0000 (22:37 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 11 Jul 2016 20:37:18 +0000 (22:37 +0200)
commitc392943c5049a94782fe548003ddd0913b09b292
tree92f4a25c4f547736917787d6ecdf9661e5c2d875
parent76225d2ca77038233f5af5903ab0bd10aa78e611
re PR tree-optimization/71823 (g++ segfaults with -mfma and -ftree-slp-vectorize)

PR tree-optimization/71823
* tree-vect-stmts.c (vectorizable_operation): Use vect_get_vec_defs
to get vec_oprnds2 from op2.

* gcc.dg/vect/pr71823.c: New test.

From-SVN: r238229
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr71823.c [new file with mode: 0644]
gcc/tree-vect-stmts.c