re PR tree-optimization/81500 (ICE with -O3 in process_use, at tree-vect-stmts.c...
authorRichard Biener <rguenther@suse.de>
Fri, 21 Jul 2017 11:32:01 +0000 (11:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 21 Jul 2017 11:32:01 +0000 (11:32 +0000)
commit9af7f3731b0ddffb3aa75b78a0ede411d36a3b09
treee717addc450ca3667b9854cfe21f2530cd0b9686
parent8c38aed722cbd17db8bcab50087acb9e40493c73
re PR tree-optimization/81500 (ICE with -O3 in process_use, at tree-vect-stmts.c:506)

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

PR tree-optimization/81500
* tree-vect-loop.c (vect_is_simple_reduction): Properly fail if
we didn't identify a reduction path.

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

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