------- 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