re PR tree-optimization/50328 (reduction with constant or invariant not vectorized)
authorRichard Guenther <rguenther@suse.de>
Fri, 9 Sep 2011 12:35:11 +0000 (12:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 9 Sep 2011 12:35:11 +0000 (12:35 +0000)
commit107defbe861ec18bab3d43855fc88b3047a140ba
treee0c869fb93a64a081263a0851d8b67d7b081ac41
parent0aa1658649796e0ba3e097d0db7013b027b8d41c
re PR tree-optimization/50328 (reduction with constant or invariant not vectorized)

2011-09-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50328
* tree-vect-loop.c (vect_is_simple_reduction_1): Allow one
constant or default-def operand.

* gcc.dg/vect/fast-math-vect-outer-7.c: New testcase.

From-SVN: r178728
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/fast-math-vect-outer-7.c [new file with mode: 0644]
gcc/tree-vect-loop.c