[Bug tree-optimization/71259] [6/7 Regression] GCC trunk emits wrong code
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 6 18:35:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71259
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 6 18:35:03 2016
New Revision: 237147
URL: https://gcc.gnu.org/viewcvs?rev=237147&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:
trunk/gcc/testsuite/gcc.dg/vect/pr71259.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-slp.c
More information about the Gcc-bugs
mailing list