https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90746
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- There isn't. It would probably useful to have __attribute__((notailcall)) which the sanitizers then could stick on the function types. We could also make noinline imply no tailcalls, noinline is already mentioned in the docs for __builtin_return_address. That wouldn't work for indirect calls though.