re PR tree-optimization/78076 (Conditional jump or move depends on uninitialised...
authorRichard Biener <rguenther@suse.de>
Mon, 24 Oct 2016 10:31:03 +0000 (10:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 24 Oct 2016 10:31:03 +0000 (10:31 +0000)
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.

From-SVN: r241467

gcc/ChangeLog
gcc/tree-ssa-loop-split.c

index dae5108fd13b51cd7a389c34efda53a544b56f13..a0c6c37056405a2c476b47fc815ade0150901289 100644 (file)
@@ -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
index 922817e63e4ce900b2d9b63e9504673246ab338d..53abb3616ca1839aa5e4ac10edeaaa72ac0842b7 100644 (file)
@@ -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)