https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120869
Karthik Nishanth <kndevl at outlook dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #2 from Karthik Nishanth <kndevl at outlook dot com> --- Apologies! gcc trunk is able to eliminate all tail calls. https://godbolt.org/z/hzEs33q97 I am marking the bug resolved. I'm curious about what changed between 15.1.0 and trunk.