[PATCH] Print Pass Names
Aditya K
hiraditya@msn.com
Tue May 26 14:51:00 GMT 2015
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: law@redhat.com
> To: hiraditya@msn.com; richard.guenther@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.guenther@gmail.com
>>> Date: Fri, 22 May 2015 21:32:24 +0200
>>> To: hiraditya@msn.com; gcc-patches@gcc.gnu.org
>>>
>>> On May 22, 2015 6:32:38 PM GMT+02:00, Aditya K <hiraditya@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 <hiraditya@msn.com>
>>
>> * statistics.c (statistics_fini_pass): Print pass name.OK.
> jeff
>
More information about the Gcc-patches
mailing list