tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Initialize ng to silence...
authorRichard Biener <rguenther@suse.de>
Thu, 25 Oct 2018 14:28:18 +0000 (14:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 25 Oct 2018 14:28:18 +0000 (14:28 +0000)
2018-10-25  Richard Biener  <rguenther@suse.de>

* tree-vect-data-refs.c (vect_analyze_data_ref_accesses):
Initialize ng to silence error with release checking bootstrap.

From-SVN: r265491

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

index 22db60649df8952345d1c01efd16d35d60be56e5..6bc7daa589f91d7ae8b4115bf5534142f945e3ad 100644 (file)
@@ -1,3 +1,8 @@
+2018-10-25  Richard Biener  <rguenther@suse.de>
+
+       * tree-vect-data-refs.c (vect_analyze_data_ref_accesses):
+       Initialize ng to silence error with release checking bootstrap.
+
 2018-10-25  Richard Biener  <rguenther@suse.de>
 
        * tree-if-conv.c: Include tree-ssa-sccvn.h.
index 9185b1bd1c0ccba6664f2c84063a1226f6ac3d28..9217344210818c41f8eb16ad5fc18e15d9b7fadc 100644 (file)
@@ -3001,7 +3001,7 @@ vect_analyze_data_ref_accesses (vec_info *vinfo)
          Note this is a heuristic but one with the property that *it
         is fixed up completely.  */
       g = grp;
-      stmt_vec_info newgroup = NULL, ng;
+      stmt_vec_info newgroup = NULL, ng = grp;
       while ((next = DR_GROUP_NEXT_ELEMENT (g)))
        {
          if (gimple_uid (STMT_VINFO_STMT (next)) >= first_duplicate)