OSDN Git Service

2011-08-24 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Aug 2011 11:26:42 +0000 (11:26 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Aug 2011 11:26:42 +0000 (11:26 +0000)
* tree-vectorizer.c (vect_print_dump_info): Avoid the
file and location clutter when dumping to dump files.

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

gcc/ChangeLog
gcc/tree-vectorizer.c

index 5e299de..7e1db3d 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 77fb034..2170627 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));