This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/78076] [7 Regression] Conditional jump or move depends on uninitialised value @ tree-vect-loop.c:2307


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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Index: gcc/tree-ssa-loop-split.c
===================================================================
--- gcc/tree-ssa-loop-split.c   (revision 241466)
+++ gcc/tree-ssa-loop-split.c   (working copy)
@@ -592,7 +592,7 @@ tree_ssa_split_loops (void)
   bool changed = false;

   gcc_assert (scev_initialized_p ());
-  FOR_EACH_LOOP (loop, 0)
+  FOR_EACH_LOOP (loop, LI_INCLUDE_ROOT)
     loop->aux = NULL;

   /* Go through all loops starting from innermost.  */
@@ -631,7 +631,7 @@ tree_ssa_split_loops (void)
        }
     }

-  FOR_EACH_LOOP (loop, 0)
+  FOR_EACH_LOOP (loop, LI_INCLUDE_ROOT)
     loop->aux = NULL;

   if (changed)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]