summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-01-18 07:06:21 +0000
committerdas <das@FreeBSD.org>2004-01-18 07:06:21 +0000
commitb4bb0863577a46ca640b973e5518fb589645d7f1 (patch)
tree0fe67dac72d3a255cacec36c1401776a71c60bc1 /tools/regression
parent8c7902507fae196b37b50c5e46368a51c7a7da22 (diff)
downloadFreeBSD-src-b4bb0863577a46ca640b973e5518fb589645d7f1.zip
FreeBSD-src-b4bb0863577a46ca640b973e5518fb589645d7f1.tar.gz
Work around a recently-introduced gcc bug. The compiler no longer
accepts certain floating point constant representations that are legal in C99.
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/lib/libc/stdio/test-scanfloat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/lib/libc/stdio/test-scanfloat.c b/tools/regression/lib/libc/stdio/test-scanfloat.c
index 36b95bc..6666fd2 100644
--- a/tools/regression/lib/libc/stdio/test-scanfloat.c
+++ b/tools/regression/lib/libc/stdio/test-scanfloat.c
@@ -123,7 +123,7 @@ main(int argc, char *argv[])
#if LDBL_MANT_DIG > DBL_MANT_DIG
sscanf(" 0X.0123456789abcdefffp-3g", "%Le%s", &ld, buf);
- assert(ld == 0x.0123456789abcdefffp-3L);
+ assert(ld == 0x0.0123456789abcdefffp-3L);
assert(strcmp(buf, "g") == 0);
#endif
OpenPOWER on IntegriCloud