------- Comment #4 from irar at il dot ibm dot com 2008-08-20 12:18 ------- I am testing the following patch:
Index: tree-vect-analyze.c =================================================================== --- tree-vect-analyze.c (revision 139225) +++ tree-vect-analyze.c (working copy) @@ -2531,7 +2535,7 @@ vect_get_and_check_slp_defs (loop_vec_in /* Check if DEF_STMT is a part of a pattern and get the def stmt from the pattern. Check that all the stmts of the node are in the pattern. */ - if (def_stmt && vinfo_for_stmt (def_stmt) + if (def_stmt && dt[i] == vect_loop_def && vinfo_for_stmt (def_stmt) && STMT_VINFO_IN_PATTERN_P (vinfo_for_stmt (def_stmt))) { if (!*first_stmt_dt0) If everything goes OK, I will submit it tomorrow. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37174