re PR tree-optimization/81249 (ICE: error: incompatible types in PHI argument 0)
authorRichard Biener <rguenther@suse.de>
Fri, 30 Jun 2017 08:08:33 +0000 (08:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 30 Jun 2017 08:08:33 +0000 (08:08 +0000)
commit4812f0b73c076ead7371785770a1736cf4ed1f49
treed9d3ce92557a66fe1c5d1bfe7920384473f8ed14
parent5ef4d61d2b24760fe5f7dad84f8201e094bacad9
re PR tree-optimization/81249 (ICE: error: incompatible types in PHI argument 0)

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

PR tree-optimization/81249
* tree-vect-loop.c (vect_create_epilog_for_reduction): Convert
condition reduction result to original scalar type.

* g++.dg/torture/pr81249.C: New testcase.

From-SVN: r249831
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr81249.C [new file with mode: 0644]
gcc/tree-vect-loop.c