http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57382
Bug ID: 57382 Summary: Illegal type conversion to access-interface-class inside generic not detected Product: gcc Version: 4.5.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: adam at irvine dot com Created attachment 30170 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30170&action=edit source code Inside a generic, GNAT incorrectly accepts a type conversion where the target type is access Interface_Type'Class and the argument type is a non-access type.