re PR tree-optimization/91822 (FAIL: gcc.dg/pr88031.c (internal compiler error))
authorRichard Biener <rguenther@suse.de>
Fri, 20 Sep 2019 08:35:59 +0000 (08:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 20 Sep 2019 08:35:59 +0000 (08:35 +0000)
commit6e222b2a3aede20f3093802d1649e75848e3bd2b
treed92612a64f3df35647f3c751c13aed50c425544b
parentd865ed7227a98bc1229d6e42bca35f605d6f4f75
re PR tree-optimization/91822 (FAIL: gcc.dg/pr88031.c (internal compiler error))

2019-09-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91822
* tree-vectorizer.h (vectorizable_condition): Restore for_reduction
parameter.
* tree-vect-loop.c (vectorizable_reduction): Adjust asserts
for reduc_index in nested cycles, adjust vectorizable_condition
calls.
* tree-vect-stmts.c (vectorizable_condition): Restore for_reduction
parameter.
(vect_analyze_stmt): Adjust.
(vect_transform_stmt): Likewise.

From-SVN: r275990
gcc/ChangeLog
gcc/tree-vect-loop.c
gcc/tree-vect-stmts.c
gcc/tree-vectorizer.h