tree-vect-data-refs.c (vect_analyze_data_refs): Fix last change.
authorRichard Guenther <rguenther@suse.de>
Tue, 5 Jun 2012 14:30:35 +0000 (14:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 5 Jun 2012 14:30:35 +0000 (14:30 +0000)
2012-06-05  Richard Guenther  <rguenther@suse.de>

* tree-vect-data-refs.c (vect_analyze_data_refs): Fix last
change.

From-SVN: r188243

gcc/ChangeLog
gcc/tree-vect-data-refs.c

index 81fc7a0656bc1a4891214bbbbbdc93bdfb7be4aa..27654b6018e83e314e28da4e401baad8824b89d5 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-05  Richard Guenther  <rguenther@suse.de>
+
+       * tree-vect-data-refs.c (vect_analyze_data_refs): Fix last
+       change.
+
 2012-06-05  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/53575
index aa384d2cadcfc7c57a61959b0e728ede21c4bddb..077d7f240b4a6113178ffce87b7c792fbbd6a4d8 100644 (file)
@@ -2855,7 +2855,10 @@ vect_analyze_data_refs (loop_vec_info loop_vinfo,
            {
              /* Mark the rest of the basic-block as unvectorizable.  */
              for (; !gsi_end_p (gsi); gsi_next (&gsi))
-               STMT_VINFO_VECTORIZABLE (vinfo_for_stmt (stmt)) = false;
+               {
+                 stmt = gsi_stmt (gsi);
+                 STMT_VINFO_VECTORIZABLE (vinfo_for_stmt (stmt)) = false;
+               }
              break;
            }
        }