]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-vectorizer.c (vectorize_loops): Properly guard vectorizer verboseness.
authorRichard Guenther <rguenther@suse.de>
Thu, 10 Dec 2009 14:16:28 +0000 (14:16 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 10 Dec 2009 14:16:28 +0000 (14:16 +0000)
2009-12-10  Richard Guenther  <rguenther@suse.de>
Allan Sandfeld Jensen  <linux@carewolf.com>

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

Co-Authored-By: Allan Sandfeld Jensen <linux@carewolf.com>
From-SVN: r155128

gcc/ChangeLog
gcc/tree-vectorizer.c

index 62bc46c1bcf30606bae8f2928a22710de0cd42d2..d1fd93921c4ffa6bd5e395731ef72a9d70570768 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 71cf8e5358c5634293a74e8d33e22ea81692f724..e337672d034d9a84e83aff7a03927121ab818680 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);