re PR tree-optimization/92162 (ICE in vect_create_epilog_for_reduction, at tree-vect...
authorRichard Biener <rguenther@suse.de>
Mon, 21 Oct 2019 13:43:19 +0000 (13:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 21 Oct 2019 13:43:19 +0000 (13:43 +0000)
commit53b15ca96116544a7a3ca8bc5f4e1649b74f3d45
treea911d7c9420bd1042ffb330240080931f1bf5067
parentaa7710cb6c2f019760fcafd37a8ab99ac897fa2b
re PR tree-optimization/92162 (ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252)

2019-10-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92162
* tree-vect-loop.c (vect_create_epilog_for_reduction): Lookup
STMT_VINFO_REDUC_IDX in reduc_info.
* tree-vect-stmts.c (vectorizable_condition): Likewise.

* gcc.dg/pr92162.c: New testcase.

From-SVN: r277261
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr92162.c [new file with mode: 0644]
gcc/tree-vect-loop.c
gcc/tree-vect-stmts.c