http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49628
--- Comment #6 from Ira Rosen <irar at il dot ibm.com> 2011-07-05 08:18:09 UTC --- Sorry, I was wrong about group size check. It is ok without your patch. So, this should be enough: Index: tree-vect-data-refs.c =================================================================== --- tree-vect-data-refs.c (revision 175785) +++ tree-vect-data-refs.c (working copy) @@ -2304,7 +2304,10 @@ vect_analyze_data_ref_access (struct dat /* Allow invariant loads in loops. */ if (loop_vinfo && dr_step == 0) - return DR_IS_READ (dr); + { + GROUP_FIRST_ELEMENT (vinfo_for_stmt (stmt)) = NULL; + return DR_IS_READ (dr); + } if (loop && nested_in_vect_loop_p (loop, stmt)) { Thanks, Ira