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

Lorenz Hüdepohl <bugs at stellardeath dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs at stellardeath dot org

--- Comment #5 from Lorenz Hüdepohl <bugs at stellardeath dot org> ---
I also stumbled upon this, it seems. I can contribute a somewhat smaller test
case, maybe this might help you.

! compile with
! gfortran -fcheck=all
module 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 module m

I get an ICE on 5.3.1 20160412, but not on 5.3.0 and neither on 6.1.0

Reply via email to