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 fortran/44926] New: [OOP] Ambiguous interface not detected


Follow up to PR 44434.

Test case: attachment 20850


While gfortran compiles the program, both ifort and crayftn reject it with:

aaa.f90(98): error #8443: This generic type bound procedure reference has two
or more specific procedures with the same type/rank/keyword signature.  
[CSGET]
    call a%a%csget(ires,info)


ftn-487 crayftn: ERROR D_BASE_MAT_MOD, File = aaa.f90, Line = 33, Column = 37
  The specific interfaces for "D_XXX_GET" and "BASE_CSGETP" make the GENERIC
interface "CSGET" ambiguous.


-- 
           Summary: [OOP] Ambiguous interface not detected
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44926


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