https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119718
--- Comment #8 from lucier at math dot purdue.edu --- What I have in mind is along the lines of the patch I proposed here: https://gcc.gnu.org/pipermail/gcc-patches/2023-August/626368.html That adds a warning to -Wdisabled-optimization for when a call in tail call position is not optimized with -foptimize-sibling-calls. That email has statistics about how often the warning was triggered when building stage1. I think that that warning would be, if anything, more useful now.