From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14020 invoked by alias); 27 May 2015 18:59:44 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 14009 invoked by uid 89); 27 May 2015 18:59:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FREEMAIL_REPLY,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: BLU004-OMC3S26.hotmail.com Received: from blu004-omc3s26.hotmail.com (HELO BLU004-OMC3S26.hotmail.com) (65.55.116.101) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Wed, 27 May 2015 18:59:43 +0000 Received: from BLU179-W13 ([65.55.116.74]) by BLU004-OMC3S26.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Wed, 27 May 2015 11:59:41 -0700 X-TMN: [ZUIr80xMPcgdVLp9P8moY2yg8M49/FmN] Message-ID: From: Aditya K To: Jeff Law , Richard Biener , "gcc-patches@gcc.gnu.org" Subject: RE: [PATCH] Print Pass Names Date: Wed, 27 May 2015 19:58:00 -0000 In-Reply-To: <5565DDB2.1090004@redhat.com> References: , ,<555F970D.30207@redhat.com> ,<5565DDB2.1090004@redhat.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg02538.txt.bz2 ---------------------------------------- > Date: Wed, 27 May 2015 09:07:30 -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/26/2015 08:32 AM, Aditya K wrote: >> 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 wr= ote: >>>>>> 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=3Dstderr &> 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 >>>> >>>> * statistics.c (statistics_fini_pass): Print pass name.OK. >>> jeff >>> >> >> > Installed on the trunk after a bootstrap and regression test run on > x86-linux-gnu. Thanks for merging the patches. -Aditya > > Thanks, > Jeff =20=09=09=20=09=20=20=20=09=09=20=20