]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-vectorizer.c (vect_print_dump_info): Avoid the file and location clutter when...
authorRichard Guenther <rguenther@suse.de>
Wed, 24 Aug 2011 11:26:42 +0000 (11:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 24 Aug 2011 11:26:42 +0000 (11:26 +0000)
2011-08-24  Richard Guenther  <rguenther@suse.de>

* tree-vectorizer.c (vect_print_dump_info): Avoid the
file and location clutter when dumping to dump files.

From-SVN: r178034

gcc/ChangeLog
gcc/tree-vectorizer.c

index 5e299de7c136acd1b16e4b95fec1df2d2b311130..7e1db3d1203f62be253808d94a595c1e797b45f4 100644 (file)
@@ -1,3 +1,8 @@
+2011-08-24  Richard Guenther  <rguenther@suse.de>
+
+       * tree-vectorizer.c (vect_print_dump_info): Avoid the
+       file and location clutter when dumping to dump files.
+
 2011-08-24  Simon Baldwin  <simonb@google.com>
 
        * gengtype-state.c (write_state): Remove timestamped header line.
index 77fb0344ad52a9d90be4161ac9eed939922284d7..2170627483e3f64a650b0ec15cdd520ed475c262 100644 (file)
@@ -149,7 +149,10 @@ vect_print_dump_info (enum vect_verbosity_levels vl)
   if (!current_function_decl || !vect_dump)
     return false;
 
-  if (vect_location == UNKNOWN_LOC)
+  if (dump_file)
+    fprintf (vect_dump, "\n");
+
+  else if (vect_location == UNKNOWN_LOC)
     fprintf (vect_dump, "\n%s:%d: note: ",
             DECL_SOURCE_FILE (current_function_decl),
             DECL_SOURCE_LINE (current_function_decl));