OSDN Git Service

2010-11-02 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Nov 2010 15:46:46 +0000 (15:46 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Nov 2010 15:46:46 +0000 (15:46 +0000)
commitfae41702a37f645810d8d9eac9475d2bfbe7fdea
tree4bf25db32c0a793b3c50814ec81909468ef7fe23
parent03725f7fdcda3f73ce9254c252015723705fc387
2010-11-02  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46184
* tree-vect-loop.c (vectorizable_reduction): Try to obtain the
input vector type from the reduction operand as well.

* gcc.dg/pr46184.c: New testcase.

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