https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79993
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #4) > Created attachment 41072 [details] > gcc7-pr79993.patch > > So, one option is to revert to the 4.8 and earlier behavior, disallow any > VLA initialization (like C does). This patch should do it. I've been ambivalent about this. I think it makes sense, but given the number of testcases that hit the change, the functionality seems to be fairly popular.