https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080
--- Comment #19 from andi at firstfloor dot org ---
>Is musttail7.c specifically about testing recursive calls?
It is mainly about testing the frontend.
In the middle end tail recursion is implemented quite differently but
the frontend doesn't know. I guess we can drop this case here.
>
> As a workaround, I suggest to remove {} from foo's definition, such that it is
> TREE_PUBLIC, but TREE_ASM_WRITTEN is false.
Should be ok.
