https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124201
Bug ID: 124201
Summary: iterated_element_association bogus error and bug box
Product: gcc
Version: 15.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: liam at liampwll dot com
CC: dkm at gcc dot gnu.org
Target Milestone: ---
Created attachment 63750
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63750&action=edit
fix for iterated_assoc_bug_2.adb bug
There's 3 test cases here (in the next 3 attachments). All have a comment in
them under the line that triggers the bug.
iterated_assoc_bug_2.adb is closest to what I encountered in a real program, I
just found the other while attempting to make a MVE and patch this.
There is an attached patch for the bug box caused by iterated_assoc_bug_2.adb
as that one is straightforward, although I'm not sure what the correct type to
use is. The other two are beyond me.