[PATCH] Remove tuples debugging hack
Richard Guenther
richard.guenther@gmail.com
Mon Oct 20 14:32:00 GMT 2008
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
>
More information about the Gcc-patches
mailing list