OSDN Git Service

PR target/45844
[pf3gnuchains/gcc-fork.git] / gcc / tree-loop-distribution.c
index d1a499b..5b147e3 100644 (file)
@@ -45,20 +45,12 @@ along with GCC; see the file COPYING3.  If not see
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
-#include "basic-block.h"
 #include "tree-flow.h"
-#include "tree-dump.h"
-#include "timevar.h"
 #include "cfgloop.h"
 #include "tree-chrec.h"
 #include "tree-data-ref.h"
 #include "tree-scalar-evolution.h"
 #include "tree-pass.h"
-#include "lambda.h"
-#include "langhooks.h"
-#include "tree-vectorizer.h"
 
 /* If bit I is not set, it means that this node represents an
    operation that has already been performed, and that should not be
@@ -1222,6 +1214,7 @@ tree_loop_distribution (void)
   FOR_EACH_LOOP (li, loop, 0)
     {
       VEC (gimple, heap) *work_list = NULL;
+      int num = loop->num;
 
       /* If the loop doesn't have a single exit we will fail anyway,
         so do that early.  */
@@ -1263,9 +1256,9 @@ tree_loop_distribution (void)
        {
          if (nb_generated_loops > 1)
            fprintf (dump_file, "Loop %d distributed: split to %d loops.\n",
-                    loop->num, nb_generated_loops);
+                    num, nb_generated_loops);
          else
-           fprintf (dump_file, "Loop %d is the same.\n", loop->num);
+           fprintf (dump_file, "Loop %d is the same.\n", num);
        }
 
       verify_loop_structure ();