https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82842
Bug ID: 82842 Summary: (PDT) Constructors do not work Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: pault at gcc dot gnu.org Target Milestone: --- From: https://groups.google.com/forum/#!topic/comp.lang.fortran/NDE6JKTFbNU type :: t(k) integer, kind :: k end type type :: s(ell) integer, len :: ell end type type(t(k=1)), allocatable :: foo type(s(ell=:)), allocatable :: bar foo = t(k=1)() bar = s(ell=2)() end type :: t(k) integer, kind :: k end type type :: s(ell) integer, len :: ell end type type(t(k=1)), allocatable :: foo type(s(ell=:)), allocatable :: bar foo = t(k=1)() bar = s(ell=2)() end