2017-10-20 Richard Biener <rguenther@suse.de>
commitc6c093ed77fca8875ce31d0ceb203a352cff73ec
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Oct 2017 13:43:47 +0000 (20 13:43 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Oct 2017 13:43:47 +0000 (20 13:43 +0000)
tree9feffb715cb9f02b75df4a6078b253ad11794539
parent3c0f15b4cebccdbb6388a8df5933e69c9b773149
2017-10-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82473
* tree-vect-loop.c (vectorizable_reduction): Properly get at
the largest input type.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253937 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr82473.c [new file with mode: 0644]
gcc/tree-vect-loop.c