[Bug ada/33071] Ada 2005 ICE on limited with'ing

2007-10-14 Thread ludovic at ludovic-brenta dot org
--- Comment #4 from ludovic at ludovic-brenta dot org 2007-10-14 11:13 --- The reduced test case shows that the bug actually has nothing to do with limited with. Therefore the title of the bug is misleading. A better title would be: Assert_Failure sinfo.adb:351 on legal Ada 2005 code

[Bug ada/33071] Ada 2005 ICE on limited with'ing

2007-10-05 Thread ludovic at ludovic-brenta dot org
--- Comment #3 from ludovic at ludovic-brenta dot org 2007-10-05 23:15 --- The bug seems not to be present in GCC 4.2.1; tested with gnat-4.2 4.2.1-7 (Debian). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33071

[Bug ada/33071] Ada 2005 ICE on limited with'ing

2007-10-05 Thread ludovic at ludovic-brenta dot org
--- Comment #2 from ludovic at ludovic-brenta dot org 2007-10-05 23:11 --- Also in 4.1.1 on i686: gcc -c -gnat05 pak1.ads +===GNAT BUG DETECTED==+ | 4.1.1 (i686-unknown-linux-gnu) Assert_Failure sinfo.adb:351 | | Error de

[Bug ada/33071] Ada 2005 ICE on limited with'ing

2007-10-05 Thread ludovic at ludovic-brenta dot org
--- Comment #1 from ludovic at ludovic-brenta dot org 2007-10-05 23:09 --- Reduced test case: package pak1 is package pak2 is type T2 is tagged null record; end pak2; type T1 is record a: access pak2.T2'Class; end record; end pak1; gcc-4.1 -c -gnat05 pak1.ads +=