https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97860

--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
What I mean is that unless error_mark_node necessarily implies (and guarantees)
the bound is a constant zero (as opposed to a similarly "broken" VLA bound),
simply bailing is safer than skipping it.  I have no idea if the front end
guarantees it but I don't see it mentioned in array_type_nelts().  If it is
guaranteed then continuing is fine but it should also be documented in the
comment above array_type_nelts(), and I would suggest to also mention it in the
change to get_parm_array_spec.

Reply via email to