about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--math/test-tgmath.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f6ca50e4d..49adac16e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,14 @@
+2003-04-05  Ulrich Drepper  <drepper@redhat.com>
+
+	* math/test-tgmath.c (F): Initialize c.
+
 2003-04-05  Alexandre Oliva  <aoliva@redhat.com>
 
 	* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New.
 	* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New.
 	* sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available
 	on mips n32.
-	* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why 
+	* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
 	XSTAT_IS_XSTAT64 must not be used for mips n64.  Use 64-bit data
 	structure on n32 as well.
 	* sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant
diff --git a/math/test-tgmath.c b/math/test-tgmath.c
index 790d8bb4cd..24474ce254 100644
--- a/math/test-tgmath.c
+++ b/math/test-tgmath.c
@@ -1,5 +1,5 @@
 /* Test compilation of tgmath macros.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com> and
    Ulrich Drepper <drepper@redhat.com>, 2001.
@@ -162,7 +162,7 @@ main (void)
 static void
 F(compile_test) (void)
 {
-  TYPE a, b, c;
+  TYPE a, b, c = 1.0;
   int i;
   long int j;
   long long int k;