From: Richard Guenther Date: Wed, 24 Aug 2011 11:26:42 +0000 (+0000) Subject: tree-vectorizer.c (vect_print_dump_info): Avoid the file and location clutter when... X-Git-Tag: releases/gcc-4.7.0~4291 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76f60b1980d82a823f076b6a11a1b1f6a3645fbe;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e299de7c136..7e1db3d1203f 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 77fb0344ad52..2170627483e3 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));