This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/78076] [7 Regression] Conditional jump or move depends on uninitialised value @ tree-vect-loop.c:2307
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Oct 2016 10:26:32 +0000
- Subject: [Bug tree-optimization/78076] [7 Regression] Conditional jump or move depends on uninitialised value @ tree-vect-loop.c:2307
- Auto-submitted: auto-generated
- References: <bug-78076-4@http.gcc.gnu.org/bugzilla/>
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)