tree-vect-slp.c (vect_supported_load_permutation_p): Avoid redef of outer loop index...
authorTeresa Johnson <tejohnson@google.com>
Mon, 3 Feb 2014 19:12:58 +0000 (19:12 +0000)
committerTeresa Johnson <tejohnson@gcc.gnu.org>
Mon, 3 Feb 2014 19:12:58 +0000 (19:12 +0000)
2014-02-03  Teresa Johnson  <tejohnson@google.com>

* tree-vect-slp.c (vect_supported_load_permutation_p): Avoid
redef of outer loop index variable.

From-SVN: r207437

gcc/ChangeLog
gcc/tree-vect-slp.c

index cc69822..c86daa8 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-03  Teresa Johnson  <tejohnson@google.com>
+
+       * tree-vect-slp.c (vect_supported_load_permutation_p): Avoid
+       redef of outer loop index variable.
+
 2014-02-03  Marc Glisse  <marc.glisse@inria.fr>
 
        PR c++/53017
index 54b780a..65f8b02 100644 (file)
@@ -1103,8 +1103,8 @@ vect_supported_load_permutation_p (slp_instance slp_instn)
          FOR_EACH_VEC_ELT (node->load_permutation, j, next)
            dump_printf (MSG_NOTE, "%d ", next);
        else
-         for (i = 0; i < group_size; ++i)
-           dump_printf (MSG_NOTE, "%d ", i);
+         for (k = 0; k < group_size; ++k)
+           dump_printf (MSG_NOTE, "%d ", k);
       dump_printf (MSG_NOTE, "\n");
     }