tree-vectorizer.c (vect_print_dump_info): Avoid the file and location clutter when dumping to dump files.

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.

From-SVN: r178034
This commit is contained in:
Richard Guenther 2011-08-24 11:26:42 +00:00 committed by Richard Biener
parent 0e3fdb489e
commit 76f60b1980
2 changed files with 9 additions and 1 deletions

View 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.

View 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));