https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120574
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
The error is emitted late when allocating stack space for the array but with
optimization we can elide the array. Whatever you try to achieve with this
test, you have to do this differently.