[Bug ipa/106437] Glibc marks functions that resume a returns_twice call as leaf
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 25 17:25:10 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106437
--- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
With the exception of '_exit', exit family of functions (exit, _Exit,
quick_exit) are also marked leaf despite exit and quick_exit invoking
atexit/on_exit/at_quick_exit handlers. Only _Exit is specified not to invoke
handlers. All four can resume a vfork.
More information about the Gcc-bugs
mailing list