diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-24 11:26:42 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-24 11:26:42 +0000 |
commit | b330ad86716036579a7c176f2ff499c476805439 (patch) | |
tree | c2bc49a71f28314512348e399a86346cc85511c9 /gcc/tree-vectorizer.c | |
parent | 2bdf2b6ebc2c3307c36876a3c586a4914b83fd56 (diff) | |
download | gcc-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.c | 5 |
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)); |