[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization
luto at mit dot edu
gcc-bugzilla@gcc.gnu.org
Sat Aug 10 00:17:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Andy Lutomirski <luto at mit dot edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luto at mit dot edu
--- Comment #9 from Andy Lutomirski <luto at mit dot edu> ---
In this case, perhaps sibling call optimization is the wrong thing here. The
caller of a noreturn function shouldn't pop the stack, but it also shouldn't
save registers (and, if it doesn't need to save registers, it shouldn't create
a stack frame in the first place).
More information about the Gcc-bugs
mailing list