diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-05-22 20:28:50 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-05-22 20:28:50 +0000 |
commit | dc6b5aed1b406a53c4512d355376b4e12c7da971 (patch) | |
tree | 5678bbd4e11ba04cf330afc7421db3d95162baae /intl/locale.alias | |
parent | 0c3717e7827969895f6ffe57c66e1612358ce6b1 (diff) | |
download | glibc-dc6b5aed1b406a53c4512d355376b4e12c7da971.tar.gz glibc-dc6b5aed1b406a53c4512d355376b4e12c7da971.tar.xz 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 'intl/locale.alias')
0 files changed, 0 insertions, 0 deletions