Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
37 Views

Internal compiler error ? ?

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
Valued Contributor III
37 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
Highlighted
Valued Contributor III
37 Views

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

0 Kudos
Highlighted
37 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.

Retired 12/31/2016
0 Kudos
Highlighted
37 Views

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

Retired 12/31/2016
0 Kudos