diff options
author | Andreas Jaeger <aj@suse.de> | 2001-08-07 17:33:37 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-08-07 17:33:37 +0000 |
commit | c5df5186db061b9dba7f45d901f5d03ebfbf143c (patch) | |
tree | 966dc41b05247d22a6b86802313ac50be1942ced /stdlib/tst-strtod.c | |
parent | 9ec9864b21c5080a2690b5c76a3fef57f51c3862 (diff) | |
download | glibc-c5df5186db061b9dba7f45d901f5d03ebfbf143c.zip glibc-c5df5186db061b9dba7f45d901f5d03ebfbf143c.tar.gz glibc-c5df5186db061b9dba7f45d901f5d03ebfbf143c.tar.bz2 |
update.
* stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
Diffstat (limited to 'stdlib/tst-strtod.c')
-rw-r--r-- | stdlib/tst-strtod.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c index adf6255..afd522b 100644 --- a/stdlib/tst-strtod.c +++ b/stdlib/tst-strtod.c @@ -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 } }; |