From: Joseph Myers Date: Mon, 24 Mar 2014 22:00:32 +0000 (+0000) Subject: Fix implicit __isinf declarations in exp. X-Git-Tag: upstream/2.30~7696 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3426898bf0a5e9e2a094a9bed90b3096f965723;p=external%2Fglibc.git Fix implicit __isinf declarations in exp. My recent exp patch introduced warnings about implicit __isinf declarations in exp because e_exp.c didn't include . This patch fixes this. Because can't be included after (because of macro definitions of __nan*), it was necessary to put an include in sysdeps/x86_64/fpu/multiarch/e_exp.c as well. Tested x86_64. * sysdeps/ieee754/dbl-64/e_exp.c: Include . * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 9937c19..a21154d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-03-24 Joseph Myers + + * sysdeps/ieee754/dbl-64/e_exp.c: Include . + * sysdeps/x86_64/fpu/multiarch/e_exp.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + 2014-03-24 Paul Pluzhnikov [BZ #16634] diff --git a/sysdeps/ieee754/dbl-64/e_exp.c b/sysdeps/ieee754/dbl-64/e_exp.c index cd060ce..0ab078f 100644 --- a/sysdeps/ieee754/dbl-64/e_exp.c +++ b/sysdeps/ieee754/dbl-64/e_exp.c @@ -32,6 +32,7 @@ /* */ /***************************************************************************/ +#include #include "endian.h" #include "uexp.h" #include "mydefs.h" diff --git a/sysdeps/x86_64/fpu/multiarch/e_exp.c b/sysdeps/x86_64/fpu/multiarch/e_exp.c index 3c65028..d244954 100644 --- a/sysdeps/x86_64/fpu/multiarch/e_exp.c +++ b/sysdeps/x86_64/fpu/multiarch/e_exp.c @@ -1,5 +1,6 @@ #if defined HAVE_FMA4_SUPPORT || defined HAVE_AVX_SUPPORT # include +# include # include extern double __ieee754_exp_sse2 (double);