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] Remove tuples debugging hack


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
>


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