2016-02-29 Richard Biener <rguenther@suse.de>
commita890896f9d530c1501c3e053174a8f4bcb1478e8
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Feb 2016 08:45:17 +0000 (29 08:45 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Feb 2016 08:45:17 +0000 (29 08:45 +0000)
treeaeb6f06c1c539975c7e7e3c58d608bbc934632ff
parent08e847e81ba52c43e690e37d0fc3cfdb1817428b
2016-02-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/69720
* tree-vect-loop.c (get_initial_def_for_reduction): Avoid
the adjustment_def path for possibly vectorized defs.
(vect_create_epilog_for_reduction): Handle vectorized initial
defs properly.

* gcc.dg/vect/vect-outer-pr69720.c: New testcase.

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