This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41706] [OOP] Calling one TBP as an actual argument of another TBP
- 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: 20 Oct 2009 12:29:32 -0000
- Subject: [Bug fortran/41706] [OOP] Calling one TBP as an actual argument of another TBP
- References: <bug-41706-16146@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from janus at gcc dot gnu dot org 2009-10-20 12:29 -------
(In reply to comment #4)
> Oh bother! I completely forgot to test the subroutine branch - thanks Janus
But in your patch you do the argument resolution both in resolve_class_compcall
and resolve_class_typebound_call, which should take care of type-bound
functions *and* subroutines, shouldn't it? Therefore I don't see why it still
fails for subroutines ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41706