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

IFX Internal Compile Error (ICE) with system_clock

DataScientist
Valued Contributor I
775 Views

The following code yields an ICE with the latest IFX:

use iso_fortran_env, only: real128
real(real128) :: count_rate
call system_clock(count_rate = count_rate)
print *, count_rate
end

ifort and gfortran both handle this code gracefully. Here is an example error message: https://godbolt.org/z/zb7vxdjac

 

 

0 Kudos
1 Solution
Devorah_H_Intel
Moderator
673 Views

This issue has been reported before here 

The fix will be in the next release. 

View solution in original post

1 Reply
Devorah_H_Intel
Moderator
674 Views

This issue has been reported before here 

The fix will be in the next release. 

Reply