Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29306 Discussions

Internal compiler error with parametrized derived types

Max_N_
Beginner
698 Views

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
Kevin_D_Intel
Employee
698 Views

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
Reply