https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > I think this was rejected 3 years ago: > https://gcc.gnu.org/legacy-ml/gcc-patches/2017-05/msg02221.html Note clang's not_tail_called does NOT apply to the function type only the decl which is different from no_tail_call patch above. I do have to wonder about LTO semantics/iteration with merging of the decls though.