https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #7)
> Just tried it on godbolt and seems clang just silently doesn't tail call it.
> That is IMHO worse behavior than erroring on that out.

Sorry, ignore this, PEBKAC, I've used [[gnu::musttail]] attribute in the
godbolt case instead of [[clang::musttail]].  With [[clang::musttail]] they
actually emit a copy of the sanitizer epilogue sequence right before the tail
call, and we should do that too.

Reply via email to