This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove tuples debugging hack
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Jakub Jelinek" <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 20 Oct 2008 13:05:09 +0200
- Subject: Re: [PATCH] Remove tuples debugging hack
- References: <20081020110419.GR30239@tyan-ft48-01.lab.bos.redhat.com>
On Mon, Oct 20, 2008 at 1:04 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> This looks like a debugging hack from the early tuplification days,
> certainly it is unexpected if compiler changes its output depending
> on an undocumented env variable.
>
> Ok for trunk?
Yes.
Thanks,
Richard.
> 2008-10-20 Jakub Jelinek <jakub@redhat.com>
>
> * tree-inline.c (tree_inlinable_function_p): Remove tuples
> debugging hack.
>
> --- gcc/tree-inline.c.jj 2008-09-17 17:58:48.000000000 +0200
> +++ gcc/tree-inline.c 2008-10-20 12:46:01.000000000 +0200
> @@ -2316,13 +2316,7 @@ declare_return_variable (copy_body_data
> bool
> tree_inlinable_function_p (tree fn)
> {
> - bool ret = inlinable_function_p (fn);
> -
> - if (getenv ("TUPLES_INLINE"))
> - fprintf (stderr, "Function %s is %sinlinable\n", get_name (fn),
> - ret ? "" : "not ");
> -
> - return ret;
> + return inlinable_function_p (fn);
> }
>
> static const char *inline_forbidden_reason;
>
> Jakub
>