https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86484

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |janus at gcc dot gnu.org
            Summary|Undefined symbol when using |[OOP] Undefined symbol when
                   |polymorphic intrinsic       |using polymorphic intrinsic
                   |assignment                  |assignment

--- Comment #2 from janus at gcc dot gnu.org ---
Confirmed.

Slightly reduced test case:


program test_assign

  implicit none

  type :: foo_t
  end type

  type, extends (foo_t) :: bar_t
  end type

  class(foo_t), allocatable :: f
  type(bar_t)               :: b

  f = b

end


I think a call to 'gfc_find_derived_vtab' needs to be inserted in a proper
place.

Reply via email to