Re: [PATCH AutoFDO/1]Avoid infinite recursion for inlined function decl tracing

2018-10-31 Thread Richard Biener
On Wed, Oct 31, 2018 at 7:27 AM bin.cheng 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-1

[PATCH AutoFDO/1]Avoid infinite recursion for inlined function decl tracing

2018-10-30 Thread bin.cheng
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 * auto-profile.c (string_table::get_index_by_decl)