re PR fortran/18218 (Miscompare in sixtrack benchmark caused by loss of precision)
authorPaul Brook <paul@codesourcery.com>
Wed, 10 Nov 2004 02:19:27 +0000 (02:19 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Wed, 10 Nov 2004 02:19:27 +0000 (02:19 +0000)
commit2cbcdebaf9da99f581c309564fc5e458c8725d47
treef1a70346c066ae259be7cf608066ff4eebd910b6
parent4ef509c05829d8ae5df462a4fdf12208fa2745ac
re PR fortran/18218 (Miscompare in sixtrack benchmark caused by loss of precision)

PR fortran/18218
* configure.ac: Check for strtof.
* configure: Regenerate.
* config.h.in: Regenerate.
* io/read.c (convert_real): Use strtof if available.
(convert_precision_real): Remove.
(read_f): Avoid poor exponentiation algorithm.
gcc/testsuite/
* gfortran.dg/list_read.c: New test.

From-SVN: r90382
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/read_float_1.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/config.h.in
libgfortran/configure
libgfortran/configure.ac
libgfortran/io/read.c