Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
2 Views

I killed off ifort 16.0.2 with this simple construct

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
Highlighted
2 Views

Thanks, we'll check it out.

Thanks, we'll check it out.

Retired 12/31/2016
0 Kudos
Highlighted
2 Views

Escalated as issue

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

Retired 12/31/2016
0 Kudos
Highlighted
2 Views

I expect this to be fixed in

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

Retired 12/31/2016
0 Kudos