https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94131
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Keywords|ice-on-invalid-code |ice-on-valid-code
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot
gnu.org
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
The code looks valid to me. It may be undefined because of the missing
initialization but with the VLA initialized the ICE is still there because the
function isn't prepared to deal with the VLA's non-constant bound.