This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]