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?

Thanks,
bin

2018-10-31  Bin Cheng  <bin.ch...@linux.alibaba.com>

        * auto-profile.c (string_table::get_index_by_decl)
        (function_instance::get_function_instance_by_decl): Avoid infinite
        recursion by using DECL_FROM_INLINE.

Attachment: 0001-Avoid-infinite-recursion-at-self-DECL_ABSTRACT_ORIGI.patch
Description: Binary data

Reply via email to