https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96228
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Oh wait this is at -O0. Well the warning is correct and won't be fixed really. -Wstack-usage is done on the RTL level so it can take into account register spilling and all.