http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60000
--- Comment #5 from Cong Hou <congh at gcc dot gnu.org> --- Author: congh Date: Mon Feb 3 18:23:56 2014 New Revision: 207435 URL: http://gcc.gnu.org/viewcvs?rev=207435&root=gcc&view=rev Log: 2014-02-03 Cong Hou <co...@google.com> Backport from mainline 2014-02-03 Cong Hou <co...@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 <co...@google.com> Backport from mainline 2014-02-03 Cong Hou <co...@google.com> PR tree-optimization/60000 * g++.dg/vect/pr60000.cc: New test. Added: branches/google/gcc-4_8/gcc/testsuite/g++.dg/vect/pr60000.cc Modified: branches/google/gcc-4_8/gcc/ChangeLog branches/google/gcc-4_8/gcc/testsuite/ChangeLog branches/google/gcc-4_8/gcc/tree-vect-loop.c