aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-22 20:28:50 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-22 20:28:50 +0000
commitdc6b5aed1b406a53c4512d355376b4e12c7da971 (patch)
tree5678bbd4e11ba04cf330afc7421db3d95162baae /sysdeps/unix/sysv/linux/kernel-features.h
parent0c3717e7827969895f6ffe57c66e1612358ce6b1 (diff)
downloadglibc-dc6b5aed1b406a53c4512d355376b4e12c7da971.tar
glibc-dc6b5aed1b406a53c4512d355376b4e12c7da971.tar.gz
glibc-dc6b5aed1b406a53c4512d355376b4e12c7da971.tar.bz2
glibc-dc6b5aed1b406a53c4512d355376b4e12c7da971.zip
Fix soft-fp fma for -Wuninitialized.
The soft-fp implementations of fma produce -Wuninitialized warnings because, in the cases where the result is not a nonzero finite value, the soft-fp does not set the exponent of the result since the (cooked) packing will do so, but the compiler does not then see that the exponent is always set in packing before it's used if it wasn't set earlier. This patch uses DIAG_* macros to suppress those warnings. Tested for mips64. (In fact this allows the mips64 build to complete with the -Wno-uninitialized removed from math/Makefile, but more cleanups are still needed in the ldbl-128ibm code for uninitialized warnings there.) * soft-fp/fmadf4.c: Include <libc-internal.h>. (__fma): Ignore uninitialized warnings around packing. * soft-fp/fmasf4.c: Include <libc-internal.h>. (__fmaf): Ignore uninitialized warnings around packing. * soft-fp/fmatf4.c: Include <libc-internal.h>. (__fmal): Ignore uninitialized warnings around packing.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
0 files changed, 0 insertions, 0 deletions