Dear all,
I was testing the new intrinsic function IS_CONTIGUOUS of Fortran 2008 and I found that gfortran 9.1.1 and ifort 19.0.2.187 give different results for the real part of a complex array.
Here is the example:
program testing implicit none complex(8) :: ac(1000) ac(:) = (1.0_8,1.0_8) write(*,*) 'real part is contiguous:',IS_CONTIGUOUS(ac(:)%re) end program
$ gfortran contiguous.f90 $ ./a.out real part is contiguous: F $ ifort contiguous.f90 $ ./a.out real part is contiguous: T
Who's right?
Best,
Fabien