https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109212
Bug ID: 109212 Summary: Ada "for" expression generates gcc error Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: vawasthi at acm dot org CC: dkm at gcc dot gnu.org Target Milestone: --- Created attachment 54709 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54709&action=edit Error generating code and compiler output An Ada "for" expression that uses the Range attribute of a doubly indexed array fails to compile in my version of gnatmake. Doesn't happen for a single indexed array. I am on a Debian 11.6 Gnu/Linux box. The attached file (err.adb) contains all code needed to generate the error. It also contains the command line and error output.