This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44926] New: [OOP] Ambiguous interface not detected
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jul 2010 08:30:59 -0000
- Subject: [Bug fortran/44926] New: [OOP] Ambiguous interface not detected
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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