program t
  print*,huge(1.0d0),tiny(1.0d0)
end program t

gives the output

  1.797693134862316E+30^@  2.225073858507201E-30^@

with latest gfortran binary:

Target: i386-pc-linux-gnu
Configured with: /home/fx/gfortran_nightbuild/trunk/configure
--prefix=/home/fx/gfortran_nightbuild/irun-20070828
--enable-languages=c,fortran --build=i386-pc-linux-gnu
--enable-checking=release --with-gmp=/home/fx/gfortran_nightbuild/software
Thread model: posix
gcc version 4.3.0 20070828 (experimental) [trunk revision 127846] (GCC)

Maybe related to this thread:

http://gcc.gnu.org/ml/fortran/2007-08/msg00476.html

?

Regards, Juha


-- 
           Summary: libfortran / floating point output broken?
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jpr at csc dot fi


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

Reply via email to