This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41656] New: [OOP] Unresolved GENERIC
- From: "sfilippone at uniroma2 dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2009 12:52:19 -0000
- Subject: [Bug fortran/41656] New: [OOP] Unresolved GENERIC
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The attached code produces the following error message.
---------------------------------------------------------
[sfilippo@localhost bug5]$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/home/local/gnu45/bin/../libexec/gcc/i686-pc-linux-gnu/4.5.0
/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gnu45
--enable-languages=c
,c++,fortran : (reconfigured) ../gcc/configure --prefix=/usr/local/gnu45
--enabl
e-languages=c,c++,fortran
Thread model: posix
gcc version 4.5.0 20091010 (experimental) (GCC)
[sfilippo@localhost bug5]$ gfortran -c test-der5.f03
test-der5.f03:223.10:
call a%a%scal(d,info)
1
Error: Found no matching specific binding for the call to the GENERIC 'scal' at
(1)
test-der5.f03:206.10:
call a%a%scal(d,info)
1
Error: Found no matching specific binding for the call to the GENERIC 'scal' at
(1)
-------------------------------------------------------------------------------
The code is cut from a larger application library in which the same symptoms
show up multiple times.
The library compiles and executes fine with NAG 5.2
--
Summary: [OOP] Unresolved GENERIC
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sfilippone at uniroma2 dot it
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41656