This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.16-ports-merge-726-gcf9a5d1
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 20 Nov 2012 14:26:22 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.16-ports-merge-726-gcf9a5d1
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via cf9a5d186154b1ad4a8459fafa135dcd822e5f3b (commit)
from f59cba71d8486e4749742f1a703424a08a2be8a7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=cf9a5d186154b1ad4a8459fafa135dcd822e5f3b
commit cf9a5d186154b1ad4a8459fafa135dcd822e5f3b
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Nov 20 14:26:07 2012 +0000
Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.
diff --git a/ChangeLog b/ChangeLog
index 6a2c45d..44a0ff1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-11-20 Joseph Myers <joseph@codesourcery.com>
+
+ * 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 <joseph@codesourcery.com>
* 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 b335adc..d2afc10 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 088d3c4..ae2142b 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);
-----------------------------------------------------------------------
Summary of changes:
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(-)
hooks/post-receive
--
GNU C Library master sources