aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2005-09-27 21:12:52 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2005-09-27 21:12:52 +0000
commit118ea208fa6de41756b9d1cce052e0bd64c681c2 (patch)
treeb153488273b3833bfdf44f1f0c3ac72e033b31c2 /libgfortran/io
parentca7a5aec06cbaa6683aedc8ebb6273e5d0e64fc6 (diff)
downloadgcc-118ea208fa6de41756b9d1cce052e0bd64c681c2.zip
gcc-118ea208fa6de41756b9d1cce052e0bd64c681c2.tar.gz
gcc-118ea208fa6de41756b9d1cce052e0bd64c681c2.tar.bz2
re PR target/23552 (FAIL: gfortran.dg/large_real_kind_1.f90)
PR target/23552 * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_ISFINITE): New. (LIBGFOR_CHECK_FOR_BROKEN_ISNAN): New. (LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY): New. * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_ISFINITE): Add use. (LIBGFOR_CHECK_FOR_BROKEN_ISNAN): Add use. (LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY): Add use. * configure: Regenerate. * config.h.in: Regenerate. * libgfortan.h (isfinite): undef if broken, set if needed. (isnan): undef if broken, set if needed. (fpclassify): undef if broken, set if needed. * io/write.c: Remove TODO comment about working isfinite. * intrinsics/c99_functions.c (round): Use isfinite instead of fpclassify. * intrinsics/c99_functions.c (roundf): Ditto. From-SVN: r104710
Diffstat (limited to 'libgfortran/io')
-rw-r--r--libgfortran/io/write.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c
index 0436134..c1bf78e 100644
--- a/libgfortran/io/write.c
+++ b/libgfortran/io/write.c
@@ -821,9 +821,6 @@ write_float (fnode *f, const char *source, int len)
if (f->format != FMT_B && f->format != FMT_O && f->format != FMT_Z)
{
- /* TODO: there are some systems where isfinite is not able to work
- with long double variables. We should detect this case and
- provide our own version for isfinite. */
res = isfinite (n);
if (res == 0)
{