I don't have commit access. I would appreciate if someone does that for me.
Thanks, -Aditya ---------------------------------------- > Date: Fri, 22 May 2015 14:52:29 -0600 > From: l...@redhat.com > To: hiradi...@msn.com; richard.guent...@gmail.com; gcc-patches@gcc.gnu.org > Subject: Re: [PATCH] Print Pass Names > > 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 >