https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69398
--- Comment #2 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- BTW : $ cat z1c.f90 program p type t end type class(t), allocatable :: z(:) target :: z(2) allocate (z(2)) end $ gfortran-5.3.1 -c z1c.f90 z1c.f90:1:0: program p 1 internal compiler error: in gfc_build_null_descriptor, at fortran/trans-array.c:432