https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123059
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
With -Wall GCC gives an warning.
C++ front-end
<source>: In function 'void f()':
<source>:4:5: warning: attributes at the beginning of statement are ignored
[-Wattributes]
4 | [[gnu::musttail]] g();
| ^~~~~~~~~~~~~~~~~
C front-end:
<source>: In function 'f':
<source>:4:5: warning: 'musttail' attribute ignored [-Wattributes]
4 | [[gnu::musttail]] g();
| ^