------- Comment #5 from irar at il dot ibm dot com 2010-09-19 10:08 ------- Right. This patch fixes it:
Index: tree-vect-stmts.c =================================================================== --- tree-vect-stmts.c (revision 164332) +++ tree-vect-stmts.c (working copy) @@ -4478,6 +4478,7 @@ vect_transform_stmt (gimple stmt, gimple case call_vec_info_type: gcc_assert (!slp_node); done = vectorizable_call (stmt, gsi, &vec_stmt); + stmt = gsi_stmt (*gsi); break; case reduc_vec_info_type: I am going to test it now. Thanks, Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45714