This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, release/2.15/master, updated. glibc-2.15-37-g725b8ee
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 28 Jun 2012 12:12:54 -0000
- Subject: GNU C Library master sources branch, release/2.15/master, updated. glibc-2.15-37-g725b8ee
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, release/2.15/master has been updated
via 725b8ee08aff8f6a6edf3de90c5e7ef0ffcae2f8 (commit)
from b640404bd8c9a281502ccc87ab2ed640c9b4c085 (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=725b8ee08aff8f6a6edf3de90c5e7ef0ffcae2f8
commit 725b8ee08aff8f6a6edf3de90c5e7ef0ffcae2f8
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Jun 21 19:26:09 2012 +0000
Fix wordsize-64 cosh regression (bug 14273).
(cherry picked from commit b7abb4bf78443f4f8d05a9dfa768fdee65b99d42)
diff --git a/ChangeLog b/ChangeLog
index 6a9c536..cfc5835 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,11 @@
2012-06-21 Joseph Myers <joseph@codesourcery.com>
+ [BZ #14273]
+ * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
+ Clear sign bit of 64-bit integer value before comparing against
+ overflow value.
+
[BZ #14167]
* aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
* configure: Regenerated.
diff --git a/NEWS b/NEWS
index a804824..357e31c 100644
--- a/NEWS
+++ b/NEWS
@@ -10,7 +10,7 @@ Version 2.15.1
* The following bugs are resolved with this release:
411, 2547, 2548, 11365, 11494, 13583, 13731, 13732, 13733, 13747, 13748,
- 13749, 13753, 13771, 13774, 13786, 14048, 14059, 14167
+ 13749, 13753, 13771, 13774, 13786, 14048, 14059, 14167, 14273
Version 2.15
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c b/sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c
index 41dc42c..b8aadab 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c
@@ -67,6 +67,7 @@ __ieee754_cosh (double x)
/* |x| in [log(maxdouble), overflowthresold] */
int64_t fix;
EXTRACT_WORDS64(fix, x);
+ fix &= UINT64_C(0x7fffffffffffffff);
if (fix <= UINT64_C(0x408633ce8fb9f87d)) {
w = __ieee754_exp(half*fabs(x));
t = half*w;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
NEWS | 2 +-
sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c | 1 +
3 files changed, 7 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources