https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119484
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed for musttail. For normal tail calls, unsure what can be done, both the optimizing away return from cloned functions and tail call optimizations are useful optimizations and when doing the former we don't know if there will be any calls to it optimizable to tail calls.