https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124949
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2026-04-20 00:00:00 |2026-04-21
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #16 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> It does seem problematic that the compiler is told to error out if the stack
> frame becomes too large, yet happily inlines so many functions that the
> limit is exceeded.
Sure, but that does not seem sufficient to break the fundamental invariant of
warning switches, whereby they are strictly orthogonal to code generation.