------- Comment #2 from charlet at gcc dot gnu dot org 2009-07-19 14:37 ------- This is now handled properly (has been for a long time actually). In Ada 95 mode, the code is rejected:
test_306835.adb:9:04: instantiation error at line 5 test_306835.adb:9:04: aliased component type must be constrained (RM 3.6(11)) and in Ada 2005 mode (the default) the code is accepted, as per AI 363 -- charlet at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21490