http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49989
Summary: Assert_Failure sinfo.adb:638 on simple testcase Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassig...@gcc.gnu.org ReportedBy: baldr...@gcc.gnu.org $ gcc-4.7 -c p.adb +===========================GNAT BUG DETECTED==============================+ | 4.7.0 20110805 (experimental) (x86_64-unknown-linux-gnu) Assert_Failure sinfo.adb:638| | Error detected at p.adb:7:9 | | 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). p.adb p.ads compilation abandoned -- Chop here -- -- p.ads procedure P; -- p.adb procedure P is type R is record I : Integer := 0; end record; X : access R; begin X := new R; end;