https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119376
--- Comment #33 from lucier at math dot purdue.edu --- Sorry, I screwed up and fired off my comment before it was finished. Here's the rest: (c) With today's GCC mainline head, those tail calls *are* optimized, as confirmed with the musttail attribute. It is my understanding that with the set of patches related to this PR, GCC 15 with -foptimize-tail-calls will optimize some tail calls that GCC 14 with -foptimize-tail-calls will not optimize. This is somewhat independent of the fact that GCC 15 has the musttail attribute. Is my description of the change in behavior between GCC 15 and 14 and -foptimize-sibling-calls accurate? If so, will these changes be backported to earlier versions of GCC when using the -foptimize-sibling-calls flag?