http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35831
--- Comment #15 from janus at gcc dot gnu.org 2011-10-05 20:06:33 UTC ---
(In reply to comment #14)
> Related ToDos:
> 1) check shape of dummy function results (in 'gfc_compare_interfaces')
> 2) check shape of function results when overriding TBPs (in
> 'gfc_check_typebound_override')
3) check string length of dummy function results (so far we only have a string
length check when overriding)
Test case (adapted from one of the IRs):
call caller(c1)
contains
FUNCTION C1(N)
CHARACTER(N) C1
END FUNCTION C1
SUBROUTINE CALLER(c2)
INTERFACE
FUNCTION C2(N)
CHARACTER(2) C2
END FUNCTION
END INTERFACE
end subroutine
end