diff options
author | Paul Brook <paul@codesourcery.com> | 2004-11-10 02:19:27 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2004-11-10 02:19:27 +0000 |
commit | 2cbcdebaf9da99f581c309564fc5e458c8725d47 (patch) | |
tree | f1a70346c066ae259be7cf608066ff4eebd910b6 /libgfortran/configure.ac | |
parent | 4ef509c05829d8ae5df462a4fdf12208fa2745ac (diff) | |
download | gcc-2cbcdebaf9da99f581c309564fc5e458c8725d47.zip gcc-2cbcdebaf9da99f581c309564fc5e458c8725d47.tar.gz gcc-2cbcdebaf9da99f581c309564fc5e458c8725d47.tar.bz2 |
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
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r-- | libgfortran/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index d99eded..3adcfd6 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -159,7 +159,7 @@ AC_CHECK_HEADER([complex.h],[AC_DEFINE([HAVE_COMPLEX_H], [1], [complex.h exists] AC_CHECK_LIB([m],[csin],[need_math="no"],[need_math="yes"]) # Check for library functions. -AC_CHECK_FUNCS(getrusage times mkstemp) +AC_CHECK_FUNCS(getrusage times mkstemp strtof) # Check libc for getgid, getpid, getuid AC_CHECK_LIB([c],[getgid],[AC_DEFINE([HAVE_GETGID],[1],[libc includes getgid])]) |