summaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-24 11:26:42 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-24 11:26:42 +0000
commitb330ad86716036579a7c176f2ff499c476805439 (patch)
treec2bc49a71f28314512348e399a86346cc85511c9 /gcc/tree-vectorizer.c
parent2bdf2b6ebc2c3307c36876a3c586a4914b83fd56 (diff)
downloadgcc-b330ad86716036579a7c176f2ff499c476805439.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178034 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vectorizer.c')
-rw-r--r--gcc/tree-vectorizer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c
index 77fb0344ad5..2170627483e 100644
--- a/gcc/tree-vectorizer.c
+++ b/gcc/tree-vectorizer.c
@@ -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));