https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Sounds more like the attribute is not needed but gcc should figure out how to improve the abi for static functions instead, like what is done already for 32bit x86. I think even musttail is also a bogus way of doing this. Attributes should not be used but rather improving gcc in more generic way.