The following does not compile with 15.0.1:
module m_module implicit none type :: TypeB(int) integer, len :: int integer :: val(int) end type type :: TypeA type(TypeB(:)), allocatable :: bar end type type(TypeA) :: foo end module m_module
101004_2049 catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error. compilation aborted for param_dt_bug.f90 (code 1)
Is it not standard F2003?
This is an internal compiler error and not a code issue. I reproduced the internal error with the 15.0 Update 1 and Update 2 but it appears fixed in the 15.0 Update 3 noted below so perhaps you can grab this update.
$ ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 6 , Version 18.104.22.168 Build 20150407