tree-vect-generic.c (expand_vector_operations_1): Check optab exists before use it.
authorIlya Enkovich <enkovich.gnu@gmail.com>
Fri, 23 Oct 2015 22:41:40 +0000 (22:41 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Fri, 23 Oct 2015 22:41:40 +0000 (22:41 +0000)
commitbfccadc9249b4c55b748ddefbec8c8344f6deac2
tree0183b2df94ca158b6fb9bf07fa4090648b6787df
parent486208e77a7b49e1aa975d03773b5f827e6d27d9
tree-vect-generic.c (expand_vector_operations_1): Check optab exists before use it.

gcc/

* tree-vect-generic.c (expand_vector_operations_1): Check
optab exists before use it.

gcc/testsuite/

* g++.dg/pr68062.C: New test.

From-SVN: r229275
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr68062.C [new file with mode: 0644]
gcc/tree-vect-generic.c