http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53323
Bug #: 53323 Summary: Compiler bomb with indefinite array of controlled objects and storage pools Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassig...@gcc.gnu.org ReportedBy: si...@pushface.org Created attachment 27372 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27372 Zipped reproducer source files This is a 4.7.0 regression (compiles OK with 4.6.0). With the attached code, $ gcc -c dynamic_bug.ads +===========================GNAT BUG DETECTED==============================+ | 4.7.0 (x86_64-apple-darwin11) Assert_Failure sinfo.adb:762 | | Error detected at dynamic_bug.ads:12:4 | | 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). | +==========================================================================+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. Consider also -gnatd.n switch (see debug.adb). dynamic_bug.ads indefinite_dynamic.ads indefinite_reference.ads compilation abandoned I’ve tried removing various features of the code, I _think_ this is the minimum set to reproduce.