https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119492
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The PR119376 patch ought to handle this (for musttail only of course, otherwise unless we can prove it escaped but isn't observable by the potential tail call callee, we can't do a tail call).