re PR tree-optimization/63379 (Incorrect vectorization when enabling SSE and O3,...
authorRichard Biener <rguenther@suse.de>
Fri, 10 Oct 2014 11:17:13 +0000 (11:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 10 Oct 2014 11:17:13 +0000 (11:17 +0000)
commitf1485e5b24f83af957e3d528dc80cd88b67acdc5
treedcad327648e25cff091d2c3a264b952d5ec44924
parent18cda88d873b67cfa06ac2a9c8b2e85468a73f4c
re PR tree-optimization/63379 (Incorrect vectorization when enabling SSE and O3, initialises loop with wrong value)

2014-10-10  Richard Biener  <rguenther@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.

From-SVN: r216070
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr63379.c [new file with mode: 0644]
gcc/tree-vect-slp.c