OSDN Git Service

* tree-vectorizer.c (vectorize_loops): Clear vect_loop_location
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 Sep 2006 20:06:23 +0000 (20:06 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 Sep 2006 20:06:23 +0000 (20:06 +0000)
before using it for dumping after vectorizing loops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116996 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-vectorizer.c

index 52549ad..df7c5e3 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-16  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * tree-vectorizer.c (vectorize_loops): Clear vect_loop_location
+       before using it for dumping after vectorizing loops.
+
 2006-09-16   Andrew Pinski  <pinskia@physics.uc.edu>
             Jack Howarth  <howarth@bromo.med.uc.edu>
 
index 8a361b7..d6dc4e3 100644 (file)
@@ -2066,6 +2066,7 @@ vectorize_loops (struct loops *loops)
       vect_transform_loop (loop_vinfo, loops);
       num_vectorized_loops++;
     }
+  vect_loop_location = UNKNOWN_LOC;
 
   if (vect_print_dump_info (REPORT_VECTORIZED_LOOPS))
     fprintf (vect_dump, "vectorized %u loops in function.\n",