[Bug middle-end/119522] Notail attribute like musttail attribute
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 28 18:40:38 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119522
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Why?
It is trivial to add some statement after the call to avoid tail call
optimization?
auto ret = foo ();
asm ("" : "+g" (ret));
return ret;
etc., access a volatile var in between, ...
More information about the Gcc-bugs
mailing list