------- Comment #11 from janus at gcc dot gnu dot org 2010-08-04 12:17 -------
At r162860, I see only one problem left: A linker error (undefined reference to
`vtab$inner.1582') on the following variation of comment #5/#6:
module module_myclass
implicit none
type :: inner
contains
procedure :: set
end type
type :: myclass
type(inner) :: slice
end type
contains
subroutine set(this)
class(inner) :: this
end subroutine
end module
module module_mysubclass
implicit none
integer :: shit = 5
contains
subroutine init()
use module_myclass, only : myclass
type(myclass) :: this
call this%slice%set() ! XXX PROBLEM HERE
shit = shit + 1
end subroutine
end module
program test
end
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |janus at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2010-05-15 20:02:24 |2010-08-04 12:17:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44064