------- Additional Comments From Thomas dot Koenig at online dot de  2004-12-16 
11:47 -------
The code runs correctly on IA-64.

$ gfortran fft2.for
$ ./a.out
   0.000000       0.000000
   0.000000       0.000000
   4.000000       0.000000
   0.000000       0.000000
   0.000000       0.000000
   0.000000       0.000000
   4.000000       0.000000
   0.000000       0.000000
STOP 0
$ gfortran -O3 fft2.for
$ ./a.out
   0.000000       0.000000
   0.000000       0.000000
   4.000000       0.000000
   0.000000       0.000000
   0.000000       0.000000
   0.000000       0.000000
   4.000000       0.000000
   0.000000       0.000000
STOP 0
For comparison:
$ ifort fft2.for
$ ./a.out
  0.0000000E+00  0.0000000E+00
  0.0000000E+00  0.0000000E+00
   4.000000      0.0000000E+00
  0.0000000E+00  0.0000000E+00
  0.0000000E+00  0.0000000E+00
  0.0000000E+00  0.0000000E+00
   4.000000      0.0000000E+00
  0.0000000E+00  0.0000000E+00
$ gfortran -v
Reading specs from /home/zfkts/lib/gcc/ia64-unknown-linux-gnu/4.0.0/specs
Configured with: ../gcc-4.0-20041212/configure --prefix=/home/zfkts
--enable-languages=c,c++,f95 : (reconfigured) ../gcc-4.0-20041212/configure
--prefix=/home/zfkts --enable-languages=c,c++,f95 --disable-shared
Thread model: posix
gcc version 4.0.0 20041212 (experimental)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18998

Reply via email to