From ec09a694b3c39551c2e808d6695d2d0bd29cf3c7 Mon Sep 17 00:00:00 2001 From: Aditya Kumar Date: Wed, 27 May 2015 15:06:10 +0000 Subject: [PATCH] * statistics.c (statistics_fini_pass): Print pass name. From-SVN: r223761 --- gcc/ChangeLog | 4 ++++ gcc/statistics.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 762c058d54b..5b12b4a3d89 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-05-22 Aditya Kumar + + * statistics.c (statistics_fini_pass): Print pass name. + 2015-05-27 Richard Biener PR tree-optimization/66272 diff --git a/gcc/statistics.c b/gcc/statistics.c index 8cbe88d4a90..50b41d13d70 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 (NULL); -- 2.30.2