re PR tree-optimization/87931 (ICE in vectorizable_reduction, at tree-vect-loop.c...
authorRichard Biener <rguenther@suse.de>
Tue, 13 Nov 2018 15:07:53 +0000 (15:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 13 Nov 2018 15:07:53 +0000 (15:07 +0000)
commit41b32876b8a0b8c19b35b768f942bdad1f96f893
tree95a01f415a6fb153248e65e4d99e7d4a42dfff37
parent160576e1ac9bbee90af9e09e1507f64d58473358
re PR tree-optimization/87931 (ICE in vectorizable_reduction, at tree-vect-loop.c:6193 since r265876)

2018-11-13  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87931
* tree-vect-loop.c (vect_is_simple_reduction): Restrict
nested cycles we support to latch computations vectorizable_reduction
handles.

* gcc.dg/graphite/pr87931.c: New testcase.

From-SVN: r266075
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr87931.c [new file with mode: 0644]
gcc/tree-vect-loop.c