re PR tree-optimization/87962 (ICE in vect_get_vec_def_for_operand_1, at tree-vect...
authorRichard Biener <rguenther@suse.de>
Tue, 13 Nov 2018 13:51:34 +0000 (13:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 13 Nov 2018 13:51:34 +0000 (13:51 +0000)
commitbe2b68e4cd63e50f4dd5fca247b9a919fb0013a0
tree4195b8bd3d01d316a9a6390f21fb723aa650477f
parenta28dfaafc5afd06419408048b664a843b2739086
re PR tree-optimization/87962 (ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1485)

2018-11-13  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87962
* tree-vect-loop.c (vect_is_simple_reduction): More reliably
detect outer reduction for disqualifying in-loop uses.

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

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