https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848
--- Comment #13 from Aaron Ballman <aaron at aaronballman dot com> --- Just to circle back around on this topic, these are changes recently landed in Clang: https://github.com/llvm/llvm-project/commit/84a3aadf0f2483dde0acfc4e79f2a075a5f35bd1 It enables the -Wvla-extension diagnostic group in C++ language modes by default, adds the warning group to -Wall in GNU++ language modes, and the warning is still opt-in in C language modes.