[PATCH] Fix PR78076
Richard Biener
rguenther@suse.de
Mon Oct 24 10:30:00 GMT 2016
Committed as obvious.
Richard.
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.
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)
More information about the Gcc-patches
mailing list