http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51015
Ira Rosen <irar at il dot ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |irar at il dot ibm.com AssignedTo|unassigned at gcc dot |irar at gcc dot gnu.org |gnu.org | --- Comment #2 from Ira Rosen <irar at il dot ibm.com> 2011-11-08 10:22:53 UTC --- Some of the patterns added lately use pattern def stmt and set its vectype, hence the assert should be updated: Index: tree-vect-loop.c =================================================================== --- tree-vect-loop.c (revision 181150) +++ tree-vect-loop.c (working copy) @@ -345,7 +345,8 @@ vect_determine_vectorization_factor (loo that contain a dataref, or for "pattern-stmts" (stmts generated by the vectorizer to represent/replace a certain idiom). */ gcc_assert (STMT_VINFO_DATA_REF (stmt_info) - || is_pattern_stmt_p (stmt_info)); + || is_pattern_stmt_p (stmt_info) + || pattern_def); vectype = STMT_VINFO_VECTYPE (stmt_info); } else