[Bug middle-end/96228] -Wstack-usage does not understand constant __builtin_alloca calls

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 16 22:20:14 GMT 2020


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.

More information about the Gcc-bugs mailing list