]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix ldbl-128ibm "set but not used" warnings.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 4 Dec 2012 21:19:17 +0000 (21:19 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 4 Dec 2012 21:19:17 +0000 (21:19 +0000)
ChangeLog
sysdeps/ieee754/ldbl-128ibm/e_atanhl.c
sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c
sysdeps/ieee754/ldbl-128ibm/s_isnanl.c
sysdeps/ieee754/ldbl-128ibm/s_logbl.c
sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c

index 55007877f77323c000223b50347098fb890a93a0..d53920d18ac9d63738870c53e08e6fe9718a0736 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2012-12-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
+       variable LX with __attribute__ ((unused)).
+       * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
+       Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
+       with __attribute__ ((unused)).
+
 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
 
        * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
index 075855b5feebbb0171fd19908f58491cde369bc2..f35182f03e5819be643bd8d7f219ca6a81e16f9e 100644 (file)
@@ -40,7 +40,7 @@ __ieee754_atanhl(long double x)
 {
        long double t;
        int64_t hx,ix;
-       u_int64_t lx;
+       u_int64_t lx __attribute__ ((unused));
        GET_LDOUBLE_WORDS64(hx,lx,x);
        ix = hx&0x7fffffffffffffffLL;
        if (ix >= 0x3ff0000000000000LL) { /* |x|>=1 */
index 5352de945356830f5e6b92eb9b5922b9c7079d50..a3d141de3d3e2579c397dfe27cbdcaefdacbbbf1 100644 (file)
@@ -200,7 +200,8 @@ int32_t __ieee754_rem_pio2l(long double x, long double *y)
   double tx[8];
   int exp;
   int64_t n, ix, hx, ixd;
-  u_int64_t lx, lxd;
+  u_int64_t lx __attribute__ ((unused));
+  u_int64_t lxd;
 
   GET_LDOUBLE_WORDS64 (hx, lx, x);
   ix = hx & 0x7fffffffffffffffLL;
index 157666cfbdef09afe2b82328d17c35c0ea2c7f4b..264dec745ec7bb7a4c266648ae2c8af1134defc8 100644 (file)
@@ -29,7 +29,8 @@ static char rcsid[] = "$NetBSD: $";
 int
 ___isnanl (long double x)
 {
-       int64_t hx,lx;
+       int64_t hx;
+       int64_t lx __attribute__ ((unused));
        GET_LDOUBLE_WORDS64(hx,lx,x);
        hx &= 0x7fffffffffffffffLL;
        hx = 0x7ff0000000000000LL - hx;
index 92ce2c1896119e61c5ae626baa4340c8b20a073a..6cbfcfa1cc02a59cb2e4922ab61c9e24fa9b4552 100644 (file)
@@ -26,7 +26,8 @@
 long double
 __logbl (long double x)
 {
-  int64_t lx, hx, rhx;
+  int64_t hx, rhx;
+  int64_t lx __attribute__ ((unused));
 
   GET_LDOUBLE_WORDS64 (hx, lx, x);
   hx &= 0x7fffffffffffffffLL;  /* high |x| */
index 994e287c9e0b8953c86309a1d6dbf84d48a97816..ff5d7d32b79bcd84131bf689423a45a946234c29 100644 (file)
@@ -31,7 +31,8 @@ static char rcsid[] = "$NetBSD: $";
 long double __nextafterl(long double x, long double y)
 {
        int64_t hx,hy,ihx,ihy,ilx;
-       u_int64_t lx,ly;
+       u_int64_t lx;
+       u_int64_t ly __attribute__ ((unused));
 
        GET_LDOUBLE_WORDS64(hx,lx,x);
        GET_LDOUBLE_WORDS64(hy,ly,y);