https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113781
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Bug box on array |internal error on naked |initialisation with |iterated association in |iterated aggregate |record aggregate |component | Keywords|ice-on-valid-code |ice-on-invalid-code --- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- The code is actually invalid since an iterated_component_association is not an expression, so an error is in order. The correct syntax is: M : constant Combined := (Which => 0, V => (for I in 1 .. Size * Size => I));