https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124533

--- Comment #4 from Andi Kleen <andi-gcc at firstfloor dot org> ---
Actually -Wattributes already warns about it.

tl.c: In function ‘h’:
tl.c:5:3: warning: ‘musttail’ attribute ignored [-Wattributes]
    5 |   __attribute__((musttail)) return g();
      |   ^~~~~~~~~~~~~

So the morale of the story is: enable warnings before reporting bugs.

Reply via email to