http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49524
Summary: container loop error Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassig...@gcc.gnu.org ReportedBy: rein...@gmail.com Created attachment 24594 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24594 Demo program which does not compile. The loop below does not compile: for Elem of field(1).NeighbourR loop Put(" ** Here ** "); New_Line; end loop; Attached is a demo program. Command to try to compile: nn@linux-de43:~/sensor_nettverk1/diffusion2> gnatmake -gnat2012 report1.adb gcc -c -gnat2012 report1.adb +===========================GNAT BUG DETECTED==============================+ | 4.6.0 20110505 [gcc-4_6-branch revision 173419] (x86_64-suse-linux-gnu) | | Assert_Failure sinfo.adb:1072 | | Error detected at report1.adb:37:40 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+