On 05/22/2015 02:38 PM, Aditya K wrote:


----------------------------------------
Subject: Re: [PATCH] Print Pass Names
From: richard.guent...@gmail.com
Date: Fri, 22 May 2015 21:32:24 +0200
To: hiradi...@msn.com; gcc-patches@gcc.gnu.org

On May 22, 2015 6:32:38 PM GMT+02:00, Aditya K <hiradi...@msn.com> wrote:
Currently, when we print the passes it does not print its name. This
becomes confusing when we want to print all the passes at once (e.g.,
-fdump-tree-all-all=stderr &> pass.dump).
This patch adds functionality to print the pass name. It passes
bootstrap (with default configurations).

Hope this is useful.

Can't you just use current_pass->name?

You are right. I have updated the patch.
Thanks
-Aditya

gcc/ChangeLog:

2015-05-22  Aditya Kumar  <hiradi...@msn.com>

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

Reply via email to