diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-split.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dae5108..a0c6c37 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-10-24 Richard Biener <rguenther@suse.de> + + 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 <jakub@redhat.com> * 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 922817e..53abb36 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) |