summaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-12-10 14:16:28 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-12-10 14:16:28 +0000
commitb614f27d29c7a76f1358c9061424248f23a4c8f9 (patch)
treec4f2508d0a2b83d221c09886ef6f43485c3233bc /gcc/tree-vectorizer.c
parent790ad3b5b48cfaedebaf3615e09b233e58bad8a0 (diff)
downloadgcc-b614f27d29c7a76f1358c9061424248f23a4c8f9.tar.gz
tree-vectorizer.c (vectorize_loops): Properly guard vectorizer verboseness.
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
Diffstat (limited to 'gcc/tree-vectorizer.c')
-rw-r--r--gcc/tree-vectorizer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c
index 71cf8e5358c..e337672d034 100644
--- a/gcc/tree-vectorizer.c
+++ b/gcc/tree-vectorizer.c
@@ -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);