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

I killed off ifort 16.0.2 with this simple construct

Todor_K_
Novice
246 Views

Hi,

the following code will yield a catastrophic error when compiled using 16.0.2

module whimpfort
  private
  ! Make a circle

  integer, parameter :: N=128
  real, parameter :: pi=3.14
  real, parameter :: tooclose=0.5
  real, parameter :: R=tooclose
  real, parameter :: bigR=3*R
  integer :: ii
  complex, parameter :: circ_points(N) = [ (R*exp((0.,1.)*2.*pi*(ii-1)/real(N)),ii=1,N) ]
end module whimpfort

 

The line responsible for the crash is the one defining the `circ_points array' via the array constructor.

You guys should use my code for testing ;)

EDIT: I tried it with ifort 12--15 version and they all have problem with this. GNU compiler, gfortran ver 5, does what I want.

0 Kudos
3 Replies
Steven_L_Intel1
Employee
246 Views

Thanks, we'll check it out.

0 Kudos
Steven_L_Intel1
Employee
246 Views

Escalated as issue DPD200410038. I will update this thread when there is news.

0 Kudos
Steven_L_Intel1
Employee
246 Views

I expect this to be fixed in 17.0.1 (October-November).

0 Kudos
Reply