From: Richard Biener Date: Mon, 24 Oct 2016 10:31:03 +0000 (+0000) Subject: re PR tree-optimization/78076 (Conditional jump or move depends on uninitialised... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06d1ff9050a32a7dda55e1905de3d4fd6eb76452;p=gcc.git re PR tree-optimization/78076 (Conditional jump or move depends on uninitialised value @ tree-vect-loop.c:2307) 2016-10-24 Richard Biener PR tree-optimization/78076 * tree-ssa-loop-split.c (tree_ssa_split_loops): Reset aux also on the loop tree root. From-SVN: r241467 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dae5108fd13..a0c6c370564 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-10-24 Richard Biener + + PR tree-optimization/78076 + * tree-ssa-loop-split.c (tree_ssa_split_loops): Reset aux + also on the loop tree root. + 2016-10-24 Jakub Jelinek * config/i386/i386.c (ix86_fold_builtin): Handle diff --git a/gcc/tree-ssa-loop-split.c b/gcc/tree-ssa-loop-split.c index 922817e63e4..53abb3616ca 100644 --- a/gcc/tree-ssa-loop-split.c +++ b/gcc/tree-ssa-loop-split.c @@ -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)