https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94377
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org --- Either update to the most recent version of gfortran, or the code included in this bug report is not the code that demonstrates the problem. I get % gfortran -c a.f90 a.f90:8:14: type(av_t(:), allocatable :: av(:) 1 Error: Malformed type-spec at (1) a.f90:17:29: allocate ( av_t(k2) :: av(k3), stat=ista) ! For this ista not needed 1 Error: Allocate-object at (1) is neither a data pointer nor an allocatable variable a.f90:20:19: deallocate(av, stat=ista) 1 Error: Allocate-object at (1) is not a nonprocedure pointer nor an allocatable variable for 8.3.1, 9.2.1, and 10.0