* statistics.c (statistics_fini_pass): Print pass name.
authorAditya Kumar <hiraditya@msn.com>
Wed, 27 May 2015 15:06:10 +0000 (15:06 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 27 May 2015 15:06:10 +0000 (09:06 -0600)
From-SVN: r223761

gcc/ChangeLog
gcc/statistics.c

index 762c058d54b38b6e7b9347189e4078069404a430..5b12b4a3d895479da71ebfff106c5ce0d412046e 100644 (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
index 8cbe88d4a906d554feea8bc6596aeafd8cf5408a..50b41d13d7011058fc9a25318b5dd4924fdb0a90 100644 (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);