This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42144] [OOP] deferred TBPs do not work
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2009 23:03:32 -0000
- Subject: [Bug fortran/42144] [OOP] deferred TBPs do not work
- References: <bug-42144-16146@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from janus at gcc dot gnu dot org 2009-11-30 23:03 -------
(In reply to comment #0)
> This gives
>
> undefined reference to `create_interface_'
>
> when linking. 'create_interface' is the abstract interface of the deferred TBP.
> Instead of calling this, one should do the same as for other TBPs.
One correctly runs into 'select_class_proc' also for deferred TBPs. We just
need to suppress the call for the basetype (check for abstract type).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42144