https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67243
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- Moreover, since VLAs are not an extension in C99, the text of Wvla is wrong always for -std=c99. void square(int num) { int array[num]; } With -std=c99 -Wpedantic there is no warning. With -std=c99 -Wvla, it mentions ISO C90, which is irrelevant. Clang just says: "variable length array used"