re PR tree-optimization/46184 (ICE: SIGSEGV in vectorizable_reduction (tree-vect...
authorRichard Guenther <rguenther@suse.de>
Tue, 2 Nov 2010 15:46:46 +0000 (15:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 2 Nov 2010 15:46:46 +0000 (15:46 +0000)
commit43427f3c581470449ed62ebaebeabe6a49c94e6f
tree4bf25db32c0a793b3c50814ec81909468ef7fe23
parent1bbd3bdee61544ce2824befa54c9a309ecac3905
re PR tree-optimization/46184 (ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce)

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.

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