https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98539
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Last reconfirmed| |2021-01-05 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |msebor at gcc dot gnu.org --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The internal representation of [*] is the same as [0] so except in the most significant bounds the warning can't distinguish between one and the other (see pr98091). It has to pick one and it chooses to consider it a VLA. Let me confirm this bug here and resolve pr98091 as a duplicate.