From cf9a5d186154b1ad4a8459fafa135dcd822e5f3b Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 20 Nov 2012 14:26:07 +0000 Subject: Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl. --- ChangeLog | 6 ++++++ sysdeps/ieee754/ldbl-128/s_nearbyintl.c | 2 +- sysdeps/ieee754/ldbl-128/s_rintl.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6a2c45d212..44a0ff1f23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-11-20 Joseph Myers + + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark + variable I1 with __attribute__ ((unused)). + * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise. + 2012-11-19 Joseph Myers * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare diff --git a/sysdeps/ieee754/ldbl-128/s_nearbyintl.c b/sysdeps/ieee754/ldbl-128/s_nearbyintl.c index b335adcaa1..d2afc10a5a 100644 --- a/sysdeps/ieee754/ldbl-128/s_nearbyintl.c +++ b/sysdeps/ieee754/ldbl-128/s_nearbyintl.c @@ -37,7 +37,7 @@ long double __nearbyintl(long double x) { fenv_t env; int64_t i0,j0,sx; - u_int64_t i1; + u_int64_t i1 __attribute__ ((unused)); long double w,t; GET_LDOUBLE_WORDS64(i0,i1,x); sx = (((u_int64_t)i0)>>63); diff --git a/sysdeps/ieee754/ldbl-128/s_rintl.c b/sysdeps/ieee754/ldbl-128/s_rintl.c index 088d3c4d59..ae2142b2c9 100644 --- a/sysdeps/ieee754/ldbl-128/s_rintl.c +++ b/sysdeps/ieee754/ldbl-128/s_rintl.c @@ -39,7 +39,7 @@ TWO112[2]={ long double __rintl(long double x) { int64_t i0,j0,sx; - u_int64_t i1; + u_int64_t i1 __attribute__ ((unused)); long double w,t; GET_LDOUBLE_WORDS64(i0,i1,x); sx = (((u_int64_t)i0)>>63); -- cgit 1.4.1