re PR tree-optimization/91896 (ICE in vect_get_vec_def_for_stmt_copy, at tree-vect...
authorRichard Biener <rguenther@suse.de>
Wed, 25 Sep 2019 13:09:25 +0000 (13:09 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 25 Sep 2019 13:09:25 +0000 (13:09 +0000)
commitfadb01364d36a50836201bc9a6a03e525d267967
treebe834f8fb07161c86cf9ad94ab02b09a9f0bb390
parent761e6bb9f7d2bd782d93e46baebade2eb1f7d16e
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: r276123
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr91896.c [new file with mode: 0644]
gcc/tree-vect-loop.c