On 06/22/2018 09:47 AM, Olivier Hainque wrote: > > >> On 22 Jun 2018, at 17:44, Olivier Hainque <hain...@adacore.com> wrote: > >> Receiving the actual function address would seem more >> useful for function-instrumentation purposes, and this >> patch adjusts the compiler to do that instead. >> >> 2018-06-22 Olivier Hainque <hain...@adacore.com> >> >> * gimplify.c (gimplify_function_tree): Prevent creation >> of a trampoline for the address of the current function >> passed to entry/exit instrumentation hooks. I was a little concerned about the TREE_NO_TRAMPOLINE bit, but that's only applied to the result of the build_fold_addr_expr, not to the actual decl itself AFAICT.
So, OK. Thanks, jeff