Hi, I I wanted to develop something similar to __cyg_profile_func_exit but instead of having the call site I would like to have the actual value returned. With gcc-4.3.3, the expand_builtin_profile_func in builtins.c makes this call: emit_library_call (which, LCT_NORMAL, VOIDmode, 2, this, Pmode, expand_builtin_return_addr (BUILT_IN_RETURN_ADDRESS, 0), Pmode); Is there a way to replace expand_builtin_return_addr to get the value returned ? thanks