diff options
author | Aditya Kumar <hiraditya@msn.com> | 2015-05-27 15:06:10 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-05-27 09:06:10 -0600 |
commit | ec09a694b3c39551c2e808d6695d2d0bd29cf3c7 (patch) | |
tree | 81f4244ac9457b94411a79ac946680cf036abc1d | |
parent | f3ae4add6c51c6cfeb40cb26bb52f6bdfa3c4520 (diff) | |
download | gcc-ec09a694b3c39551c2e808d6695d2d0bd29cf3c7.zip gcc-ec09a694b3c39551c2e808d6695d2d0bd29cf3c7.tar.gz gcc-ec09a694b3c39551c2e808d6695d2d0bd29cf3c7.tar.bz2 |
* statistics.c (statistics_fini_pass): Print pass name.
From-SVN: r223761
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/statistics.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 762c058..5b12b4a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/statistics.c b/gcc/statistics.c index 8cbe88d..50b41d1 100644 --- a/gcc/statistics.c +++ b/gcc/statistics.c @@ -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); |