------- Comment #3 from janus at gcc dot gnu dot org 2010-06-06 03:37 ------- Here is a related test case (by Salvatore):
module s_mat_mod implicit none type :: s_sparse_mat end type contains subroutine s_set_triangle(a) class(s_sparse_mat), intent(inout) :: a end subroutine end module module s_tester implicit none contains subroutine s_ussv_2 use s_mat_mod type(s_sparse_mat) :: a call s_set_triangle(a) end subroutine end module end This gives: /tmp/ccUws0SU.o: In function `__s_tester_MOD_s_ussv_2': testd17.f03:(.text+0x13): undefined reference to `vtab$s_sparse_mat.1564' (when compiled in one file) -- janus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sfilippone at uniroma2 dot | |it Summary|[OOP] Undefined reference to|[OOP] Undefined reference to |TBP |vtab$... http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44065