Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

ICE with PDT

Espen_M_
Beginner
288 Views
MODULE test
 
 IMPLICIT NONE
 
 PUBLIC
 
 INTEGER, PARAMETER, DIMENSION(6), PRIVATE :: kind_params = [0,1,3,7,9,14]
 
 
 TYPE :: dt(kind)
  INTEGER, KIND :: kind
  REAL,DIMENSION(kind_params(kind))  :: comps
 END TYPE dt
 
END MODULE test

The above code is a stripped down example of something I'm trying to compile that generates an internal compiler error due to the parameter array kind_params being used in the dimension specification of comps.

0 Kudos
3 Replies
Steven_L_Intel1
Employee
288 Views

Thanks - escalated as issue DPD200367384.

0 Kudos
Espen_M_
Beginner
288 Views

You're welcome :)

0 Kudos
Steven_L_Intel1
Employee
288 Views

This will be fixed in version 16, to be released later this year. The fix isn't in the current beta and may not make the first beta update.

0 Kudos
Reply