https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96228
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Assignee|dmalcolm at gcc dot gnu.org |unassigned at gcc dot gnu.org Component|analyzer |middle-end --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -Wstack-usage is done on the RTL level, this means __builtin_alloca with a constant is not converted into always allocation. Usually because of __builtin_alloca can be conditional.