https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90746
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- PR66826 is another bug asking for a similar attribute. Of course, for a builtin we can check that manually in tree-tailcall.c, but for user provided functions we need an attribute if we want to support that.