re PR tree-optimization/91896 (ICE in vect_get_vec_def_for_stmt_copy, at tree-vect...
authorRichard Biener <rguenther@suse.de>
Thu, 26 Sep 2019 16:54:51 +0000 (16:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 26 Sep 2019 16:54:51 +0000 (16:54 +0000)
commit0bfc204142439b8167bf3447d7d12b65d1da82f8
treea2335246e4ea0ed0bd0ecd9fb508bcd581749c5f
parent1b4dbccc1f828fa00e6acc8b88d24301c65552df
re PR tree-optimization/91896 (ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1687)

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

PR tree-optimization/91896
* tree-vect-loop.c (vectorizable_reduction): The single
def-use cycle optimization cannot apply when there's more
than one pattern stmt involved.

* gcc.dg/torture/pr91896.c: New testcase.

From-SVN: r276158
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr91897.c [new file with mode: 0644]