On Wed, Oct 31, 2018 at 7:27 AM bin.cheng <[email protected]> wrote:
>
> Hi,
> This simple patch avoids infinite recursion when tracing inlined function 
> decl by using
> pre-defined macro DECL_FROM_INLINE in tree.h.
>
> Bootstrap and test on x86_64 in patch set.  Is it OK?

OK.

Richard.

> Thanks,
> bin
>
> 2018-10-31  Bin Cheng  <[email protected]>
>
>         * auto-profile.c (string_table::get_index_by_decl)
>         (function_instance::get_function_instance_by_decl): Avoid infinite
>         recursion by using DECL_FROM_INLINE.

Reply via email to