https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Josh Haberman <jhaberman at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jhaberman at gmail dot com --- Comment #23 from Josh Haberman <jhaberman at gmail dot com> --- (In reply to Lukas Grätz from comment #22) > I think the status should be changed into RESOLVED FIXED now. After PR > 119483 and PR 121159 with GCC 16+ and 15.2+, tail call optimization is > finally possible for noreturn functions. Just use the musttail attribute > introduced by PR 83324. That works as long as the function signature of the noreturn function precisely matches the function signature of the caller. In many cases, you would need to add a wrapper around the noreturn function to make them match.