This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/57382] New: Illegal type conversion to access-interface-class inside generic not detected


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]