https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930
--- Comment #10 from Linus Torvalds <torva...@linux-foundation.org> --- (In reply to Roger Sayle from comment #7) > Investigating. Adding -mno-stv the stack size reduces from 2612 to 428 (and > on godbolt the number of assembler lines reduces from 6952 to 6203). So now that I actually tried that, '-mno-stv' does nothing for me. I still see a frame size of 2620. I wonder what the difference in our setups is. I tested with plain gcc-12.1.1 from Fedora 36, maybe you tested with current trunk or something? Anyway, it seems -mno-stv isn't the solution at least for the released version ;(