Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner

Internal compiler error with parametrized derived types

Hello,

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

but returns

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?

Cheers,

Max

0 Kudos
1 Reply
Highlighted
Employee

This is an internal compiler

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 15.0.3.187 Build 20150407
 

 

0 Kudos