https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63379

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Oct 10 11:17:13 2014
New Revision: 216070

URL: https://gcc.gnu.org/viewcvs?rev=216070&root=gcc&view=rev
Log:
2014-10-10  Richard Biener  <rguent...@suse.de>

    PR tree-optimization/63379
    * tree-vect-slp.c (vect_get_constant_vectors): Do not compute
    a neutral operand for min/max when it is not a reduction chain.

    * gcc.dg/vect/pr63379.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr63379.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-slp.c

Reply via email to