From 76f60b1980d82a823f076b6a11a1b1f6a3645fbe Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Wed, 24 Aug 2011 11:26:42 +0000 Subject: [PATCH] tree-vectorizer.c (vect_print_dump_info): Avoid the file and location clutter when dumping to dump files. 2011-08-24 Richard Guenther * tree-vectorizer.c (vect_print_dump_info): Avoid the file and location clutter when dumping to dump files. From-SVN: r178034 --- gcc/ChangeLog | 5 +++++ gcc/tree-vectorizer.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e299de7c13..7e1db3d1203 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-24 Richard Guenther + + * tree-vectorizer.c (vect_print_dump_info): Avoid the + file and location clutter when dumping to dump files. + 2011-08-24 Simon Baldwin * gengtype-state.c (write_state): Remove timestamped header line. 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));