aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/ldsodefs.h
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 /sysdeps/powerpc/ldsodefs.h
parent31a8780d0b41934c6ab5160f834f56a2d5d97f4a (diff)
downloadglibc-0c3717e7827969895f6ffe57c66e1612358ce6b1.zip
glibc-0c3717e7827969895f6ffe57c66e1612358ce6b1.tar.gz
glibc-0c3717e7827969895f6ffe57c66e1612358ce6b1.tar.bz2
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 'sysdeps/powerpc/ldsodefs.h')
0 files changed, 0 insertions, 0 deletions