From b4bb0863577a46ca640b973e5518fb589645d7f1 Mon Sep 17 00:00:00 2001 From: das Date: Sun, 18 Jan 2004 07:06:21 +0000 Subject: Work around a recently-introduced gcc bug. The compiler no longer accepts certain floating point constant representations that are legal in C99. --- tools/regression/lib/libc/stdio/test-scanfloat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.1