https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98217
--- Comment #11 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- It would seem reasonable to have options both for the case of warning about all VLA declarations, and more specifically for the case of allocating a VLA on the stack. The diagnostics for all VLA declarations, including [*], are needed in any case for -std=c90 -pedantic (as pedwarns, so they become errors with -pedantic-errors) and -Wc90-c99-compat / -Wc++-compat (as warnings).