re PR tree-optimization/81418 (ICE in vect_get_vec_def_for_stmt_copy)
authorRichard Biener <rguenther@suse.de>
Tue, 18 Jul 2017 07:26:04 +0000 (07:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 18 Jul 2017 07:26:04 +0000 (07:26 +0000)
commitd2e78d766294a5e548c2eaf92f07a8f768120e1c
tree9f3dd6f500bb84223c8af23792329fe80a0a3630
parent651dbe5d8e8e4907af30fb319c6ca0d29269b1e1
re PR tree-optimization/81418 (ICE in vect_get_vec_def_for_stmt_copy)

2017-06-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/81418
* tree-vect-loop.c (vectorizable_reduction): Properly compute
vectype_in.  Verify that with lane-reducing reduction operations
we have a single def-use cycle.

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

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