about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-22 20:13:44 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-22 20:13:44 +0000
commit0c3717e7827969895f6ffe57c66e1612358ce6b1 (patch)
tree63515633144d67d549bc62b4681c59309a37dba0 /ChangeLog
parent31a8780d0b41934c6ab5160f834f56a2d5d97f4a (diff)
downloadglibc-0c3717e7827969895f6ffe57c66e1612358ce6b1.tar.gz
glibc-0c3717e7827969895f6ffe57c66e1612358ce6b1.tar.xz
glibc-0c3717e7827969895f6ffe57c66e1612358ce6b1.zip
Fix ldbl-128 / ldbl-128ibm tanl for -Wuninitialized.
The ldbl-128 and ldbl-128ibm implementations of tanl produce
uninitialized variable warnings with -Wuninitialized because of a
variable that is initialized only conditionally, then used under the
same conditions under which it is set.  This patch uses DIAG_* macros
to suppress those warnings.

Tested for powerpc and mips64.

	* sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
	(__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
	* sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
	(__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b31961d17..159eb4ab6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
+	(__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
+	* sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
+	(__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
+
 	* sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
 	switch statement into default case.
 	* sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.