This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove unused get_current_pass_name
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Thu, 23 Jul 2015 12:59:41 +0200
- Subject: Re: [PATCH] Remove unused get_current_pass_name
- Authentication-results: sourceware.org; auth=none
- References: <DUB118-W45225D14D556890DCF65AEE4830 at phx dot gbl>
On Wed, Jul 22, 2015 at 8:37 PM, Bernd Edlinger
<bernd.edlinger@hotmail.de> wrote:
> Hi,
>
>
> I noticed recently that tree-pass.h contains a declaration of get_current_pass_name,
> but this function is not defined, and where ever we need the current pass name,
> we simply use current_pass->name. So I would like to remove that declaration.
>
>
> Boot-strapped and regression-tested on x86-64-linux-gnu.
> OK for trunk?
Ok.
Richard.
>
> Thanks
> Bernd.
>