https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94965

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
@@ -9319,7 +9364,8 @@ vectorizable_load (stmt_vec_info stmt_info,
gimple_stmt_it
erator *gsi,
         initialized yet, use first_stmt_info_for_drptr DR by bumping the
         distance from first_stmt_info DR instead as below.  */
       if (!diff_first_stmt_info)
-       msq = vect_setup_realignment (first_stmt_info, gsi, &realignment_token,
+       msq = vect_setup_realignment (loop_vinfo,
+                                     first_stmt_info, gsi, &realignment_token,
                                      alignment_support_scheme, NULL_TREE,
                                      &at_loop);
       if (alignment_support_scheme == dr_explicit_realign_optimized)

that should have been 'vinfo', not 'loop_vinfo'.

Reply via email to