]> sourceware.org Git - glibc.git/commitdiff
update.
authorAndreas Jaeger <aj@suse.de>
Tue, 7 Aug 2001 17:33:37 +0000 (17:33 +0000)
committerAndreas Jaeger <aj@suse.de>
Tue, 7 Aug 2001 17:33:37 +0000 (17:33 +0000)
* stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.

ChangeLog
stdlib/tst-strtod.c

index d63b8ec332b229fa63dc0f7d9843bb60d9fc150f..18eead38a650625a8922d1b1aa68452e72765818 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-08-07  Andreas Jaeger  <aj@suse.de>
 
+       * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
+
        * iconv/gconv_charset.h (upstr): Add unused attribute to avoid
        warning.
 
index adf6255f66287ad5e8a0a4d96483e9d41a848a99..afd522b9ccbc168719cfcb60c29babc83cf53eb7 100644 (file)
@@ -65,9 +65,12 @@ static const struct ltest tests[] =
     { "0x0.8p-1022",
       1.11253692925360069154511635866620203210960799023116591527666e-308,
       '\0', 0 },
+#if __GNUC_PREREQ(2,96)
+    /* For older GCC release HUGE_VAL is not a constant.  */
     { "Inf", HUGE_VAL, '\0', 0 },
     { "-Inf", -HUGE_VAL, '\0', 0 },
     { "+InFiNiTy", HUGE_VAL, '\0', 0 },
+#endif
     { NULL, 0, '\0', 0 }
   };
 
This page took 0.047286 seconds and 5 git commands to generate.