OSDN Git Service

2009-12-10 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Dec 2009 14:16:28 +0000 (14:16 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Dec 2009 14:16:28 +0000 (14:16 +0000)
Allan Sandfeld Jensen  <linux@carewolf.com>

* tree-vectorizer.c (vectorize_loops): Properly guard
vectorizer verboseness.

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

gcc/ChangeLog
gcc/tree-vectorizer.c

index 62bc46c..d1fd939 100644 (file)
@@ -1,3 +1,9 @@
+2009-12-10  Richard Guenther  <rguenther@suse.de>
+       Allan Sandfeld Jensen  <linux@carewolf.com>
+
+       * tree-vectorizer.c (vectorize_loops): Properly guard
+       vectorizer verboseness.
+
 2009-12-10  Ben Elliston  <bje@au.ibm.com>
 
        * fwprop.c (free_load_extend): Initialise `use'.
index 71cf8e5..e337672 100644 (file)
@@ -230,8 +230,8 @@ vectorize_loops (void)
 
   statistics_counter_event (cfun, "Vectorized loops", num_vectorized_loops);
   if (vect_print_dump_info (REPORT_UNVECTORIZED_LOCATIONS)
-      || (vect_print_dump_info (REPORT_VECTORIZED_LOCATIONS)
-         && num_vectorized_loops > 0))
+      || (num_vectorized_loops > 0
+         && vect_print_dump_info (REPORT_VECTORIZED_LOCATIONS)))
     fprintf (vect_dump, "vectorized %u loops in function.\n",
             num_vectorized_loops);