https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71259
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Jun 6 18:47:33 2016 New Revision: 237148 URL: https://gcc.gnu.org/viewcvs?rev=237148&root=gcc&view=rev Log: PR tree-optimization/71259 * tree-vect-slp.c (vect_get_constant_vectors): For VECTOR_BOOLEAN_TYPE_P, return all ones constant instead of one for constant op, and use COND_EXPR for non-constant. * gcc.dg/vect/pr71259.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/vect/pr71259.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-vect-slp.c