* statistics.c (statistics_fini_pass): Print pass name.

From-SVN: r223761
This commit is contained in:
Aditya Kumar 2015-05-27 15:06:10 +00:00 committed by Jeff Law
parent f3ae4add6c
commit ec09a694b3
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-05-22 Aditya Kumar <hiraditya@msn.com>
* statistics.c (statistics_fini_pass): Print pass name.
2015-05-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/66272

View File

@ -201,7 +201,7 @@ statistics_fini_pass (void)
&& dump_flags & TDF_STATS)
{
fprintf (dump_file, "\n");
fprintf (dump_file, "Pass statistics:\n");
fprintf (dump_file, "Pass statistics of \"%s\": ", current_pass->name);
fprintf (dump_file, "----------------\n");
curr_statistics_hash ()
->traverse_noresize <void *, statistics_fini_pass_1> (NULL);