re PR tree-optimization/92554 (ICE in vect_create_epilog_for_reduction, at tree-vect...
authorRichard Biener <rguenther@suse.de>
Tue, 19 Nov 2019 07:33:58 +0000 (07:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 19 Nov 2019 07:33:58 +0000 (07:33 +0000)
commit04c4599d30b1eb7c21d39b15a685aa1d9b8bf968
tree154dcc70eba849dbb1296239cbf2885314b172d0
parentf1e0c7e0eb3eafb122fc3d00242828c82a9286a2
re PR tree-optimization/92554 (ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4325)

2019-11-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92554
* tree-vect-loop.c (vect_create_epilog_for_reduction): Look
for the actual condition stmt and deal with sign-changes.

* gcc.dg/vect/pr92554.c: New testcase.

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