mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
dc6b5aed1b
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. |
||
---|---|---|
.. | ||
adddf3.c | ||
addsf3.c | ||
addtf3.c | ||
Banner | ||
divdf3.c | ||
divsf3.c | ||
divtf3.c | ||
double.h | ||
eqdf2.c | ||
eqsf2.c | ||
eqtf2.c | ||
extenddftf2.c | ||
extended.h | ||
extendsfdf2.c | ||
extendsftf2.c | ||
extendxftf2.c | ||
fixdfdi.c | ||
fixdfsi.c | ||
fixdfti.c | ||
fixsfdi.c | ||
fixsfsi.c | ||
fixsfti.c | ||
fixtfdi.c | ||
fixtfsi.c | ||
fixtfti.c | ||
fixunsdfdi.c | ||
fixunsdfsi.c | ||
fixunsdfti.c | ||
fixunssfdi.c | ||
fixunssfsi.c | ||
fixunssfti.c | ||
fixunstfdi.c | ||
fixunstfsi.c | ||
fixunstfti.c | ||
floatdidf.c | ||
floatdisf.c | ||
floatditf.c | ||
floatsidf.c | ||
floatsisf.c | ||
floatsitf.c | ||
floattidf.c | ||
floattisf.c | ||
floattitf.c | ||
floatundidf.c | ||
floatundisf.c | ||
floatunditf.c | ||
floatunsidf.c | ||
floatunsisf.c | ||
floatunsitf.c | ||
floatuntidf.c | ||
floatuntisf.c | ||
floatuntitf.c | ||
fmadf4.c | ||
fmasf4.c | ||
fmatf4.c | ||
gedf2.c | ||
gesf2.c | ||
getf2.c | ||
ledf2.c | ||
lesf2.c | ||
letf2.c | ||
Makefile | ||
muldf3.c | ||
mulsf3.c | ||
multf3.c | ||
negdf2.c | ||
negsf2.c | ||
negtf2.c | ||
op-1.h | ||
op-2.h | ||
op-4.h | ||
op-8.h | ||
op-common.h | ||
quad.h | ||
single.h | ||
soft-fp.h | ||
sqrtdf2.c | ||
sqrtsf2.c | ||
sqrttf2.c | ||
subdf3.c | ||
subsf3.c | ||
subtf3.c | ||
testit.c | ||
truncdfsf2.c | ||
trunctfdf2.c | ||
trunctfsf2.c | ||
trunctfxf2.c | ||
unorddf2.c | ||
unordsf2.c | ||
unordtf2.c |