https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78300
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janus at gcc dot gnu.org --- Comment #13 from janus at gcc dot gnu.org --- Further reduced/modified testcase: module gfc_base implicit none type gfc_cont_elem_t end type contains function gfc_copy_i() result(clone) class(gfc_cont_elem_t), pointer:: clone end function subroutine ContElemConstruct(copy_constr_func) procedure(gfc_copy_i) :: copy_constr_func end subroutine end module