https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Reduced: struct A; struct B { unsigned long b; }; typedef const char *(*F) (void *u, const char *v, void *w, const A *x, unsigned long y, B z); struct A { F a; }; const char * foo (void *u, const char *v, void *w, const A *x, unsigned long y, B z) { [[gnu::musttail]] return x->a(u, v, w, x, y, z); }