2014-02-03 Cong Hou <congh@google.com>
commit512cbd6781b48d79e9b9e3801a651df6092038e0
authorcongh <congh@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Feb 2014 18:15:56 +0000 (3 18:15 +0000)
committercongh <congh@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Feb 2014 18:15:56 +0000 (3 18:15 +0000)
treec169424d5d8cdcbdf3aa71e42ddf34256bc75463
parent7aa7c672493531a01d7749397b6808778d36776b
2014-02-03  Cong Hou  <congh@google.com>

PR tree-optimization/60000
* tree-vect-loop.c (vect_transform_loop): Set pattern_def_seq to NULL
if the vectorized statement is a store.  A store statement can only
appear at the end of pattern statements.

2014-02-03  Cong Hou  <congh@google.com>

PR tree-optimization/60000
* g++.dg/vect/pr60000.cc: New test.

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