https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70350
max <maximilien.levesque at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maximilien.levesque at gmail dot c | |om --- Comment #6 from max <maximilien.levesque at gmail dot com> --- I confirm on 5.3.1 20160413 A very small contribution (In reply to Lorenz Hüdepohl from comment #5) to make the example self-sufficient: ! compile with ! gfortran -fcheck=all program m type subtype real, allocatable :: array(:) end type subtype type object type(subtype), allocatable :: array_of_subtypes(:,:,:) end type object contains subroutine allocate_objects(this) class(object), intent(inout) :: this allocate(this%array_of_subtypes(1,2,3)) end subroutine end program m