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

Internal compiler error ? ?

WSinc
New Contributor I
524 Views

I added a function (CKSUM) to this F90 file, now it wont compile.

Does this violate a rule? Why would it not say so, rather than giving me

"internal compiler error" ?

0 Kudos
4 Replies
andrew_4619
Honored Contributor II
524 Views

Compiling with Intel(R) Visual Fortran Compiler 16.0.1.146 [IA-32]...
longmul.f90
C:\Users\Andrew\Desktop\longmul.f90(2): warning #6474: Fortran 2008 does not allow this form of the PARAMETER statement.
C:\Users\Andrew\Desktop\longmul.f90(54): warning #6717: This name has not been given an explicit type.   [NQ]
C:\Users\Andrew\Desktop\longmul.f90(15): warning #7374: F2008 standard requires all arguments be of the same type and same kind type parameter.
C:\Users\Andrew\Desktop\longmul.f90(17): warning #6717: This name has not been given an explicit type.   [IX]
C:\Users\Andrew\Desktop\longmul.f90(18): warning #6717: This name has not been given an explicit type.   [IY]
C:\Users\Andrew\Desktop\longmul.f90(21): warning #7374: F2008 standard requires all arguments be of the same type and same kind type parameter.   [1000000000]
C:\Users\Andrew\Desktop\longmul.f90(39): warning #6717: This name has not been given an explicit type.   [IZ]
C:\Users\Andrew\Desktop\longmul.f90(56): warning #6717: This name has not been given an explicit type.   [IQ]
C:\Users\Andrew\Desktop\longmul.f90(59): warning #7374: F2008 standard requires all arguments be of the same type and same kind type parameter.
C:\Users\Andrew\Desktop\longmul.f90(66): warning #7374: F2008 standard requires all arguments be of the same type and same kind type parameter.   [1000000000]
C:\Users\Andrew\Desktop\longmul.f90(68): warning #7374: F2008 standard requires all arguments be of the same type and same kind type parameter.   [1000000000]
C:\Users\Andrew\Desktop\longmul.f90(1): remark #7712: This variable has not been used.  
fortcom: Fatal: There has been an internal compiler error (C0000005).

0 Kudos
andrew_4619
Honored Contributor II
524 Views

that being said not of those give rise to the ICE, and and ICE is bug anyway.

0 Kudos
Steven_L_Intel1
Employee
524 Views

Change:

integer(4) q(:nq)

to:

integer(4) q(nq)

The former is invalid syntax, but the compiler didn't catch it. I will report this to the developers. Issue ID is DPD200380451.

0 Kudos
Steven_L_Intel1
Employee
524 Views

This bug has been fixed for a major release of the compiler later this year.

0 Kudos
Reply