------- Comment #2 from bdavis at gcc dot gnu dot org 2007-11-17 22:35 ------- here is what i got on a P4, running FC8.
[EMAIL PROTECTED] gfc]$ /usr/bin/gfortran -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20070925 (Red Hat 4.1.2-33) [EMAIL PROTECTED] gfc]$ /usr/bin/gfortran demo1.f [EMAIL PROTECTED] gfc]$ time ./a.out result = -0.690680926641407 real 0m0.948s user 0m0.914s sys 0m0.002s [EMAIL PROTECTED] gfc]$ /usr/bin/gfortran demo2.f [EMAIL PROTECTED] gfc]$ time ./a.out result = 1570795059.20410 real 0m1.853s user 0m1.808s sys 0m0.004s [EMAIL PROTECTED] gfc]$ g77 --version GNU Fortran (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8) Copyright (C) 2006 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING or type the command `info -f g77 Copying'. [EMAIL PROTECTED] gfc]$ g77 demo1.f [EMAIL PROTECTED] gfc]$ time ./a.out result = -0.990368962 real 0m0.938s user 0m0.912s sys 0m0.002s [EMAIL PROTECTED] gfc]$ g77 demo2.f [EMAIL PROTECTED] gfc]$ time ./a.out result = 1.57079506E+09 real 0m2.386s user 0m2.354s sys 0m0.004s gfortran g77 demo1 0m0.948s 0m0.938s demo2 0m1.853s 0m2.386s the answers were different on demo1.f with these versions, and on the P4 under linux, i say gfortran is OK. --bud -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34128