re PR tree-optimization/92205 (ICE in vect_get_vec_def_for_stmt_copy, at tree-vect...
authorRichard Biener <rguenther@suse.de>
Thu, 24 Oct 2019 12:11:27 +0000 (12:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 24 Oct 2019 12:11:27 +0000 (12:11 +0000)
commite227594789d909fbad56f6036910938678738f92
treefc40e6db2f5f4aa160621e6bd05391f349b18ec3
parentee80f0c6ba50ebf0300fb0cfe1079a1321295749
re PR tree-optimization/92205 (ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 since r277322)

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

PR tree-optimization/92205
* tree-vect-loop.c (vectorizable_reduction): Restrict
search for alternate vectype_in to lane-reducing patterns
we support.

* gcc.dg/vect/pr92205.c: New testcase.

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