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.22-125-gf008c71
- From: wilco at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 24 Aug 2015 13:46:36 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.22-125-gf008c71
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 f008c71455a8f23c2a24c451e61b12ddfca9a54f (commit)
from c3b9ef8dfc83e9d17da5adc73709d2f7dfbbaf13 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f008c71455a8f23c2a24c451e61b12ddfca9a54f
commit f008c71455a8f23c2a24c451e61b12ddfca9a54f
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date: Mon Aug 24 14:40:39 2015 +0100
2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
* sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
Unconditionally set __fpcr to avoid uninialized warning.
(libc_feholdsetround_noex_aarch64_ctx): Likewise.
diff --git a/ChangeLog b/ChangeLog
index dae71ce..a2a1fe0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
+ Unconditionally set __fpcr to avoid uninialized warning.
+ (libc_feholdsetround_noex_aarch64_ctx): Likewise.
+
2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
* malloc/arena.c (arena_get_retry): Don't use main_arena if it
diff --git a/sysdeps/aarch64/fpu/math_private.h b/sysdeps/aarch64/fpu/math_private.h
index 1f02ddb..43bef1a 100644
--- a/sysdeps/aarch64/fpu/math_private.h
+++ b/sysdeps/aarch64/fpu/math_private.h
@@ -252,6 +252,7 @@ libc_feholdsetround_aarch64_ctx (struct rm_ctx *ctx, int r)
int round;
_FPU_GETCW (fpcr);
+ ctx->env.__fpcr = fpcr;
/* Check whether rounding modes are different. */
round = (fpcr ^ r) & _FPU_FPCR_RM_MASK;
@@ -259,10 +260,7 @@ libc_feholdsetround_aarch64_ctx (struct rm_ctx *ctx, int r)
/* Set the rounding mode if changed. */
if (__glibc_unlikely (round != 0))
- {
- ctx->env.__fpcr = fpcr;
- _FPU_SETCW (fpcr ^ round);
- }
+ _FPU_SETCW (fpcr ^ round);
}
#define libc_feholdsetround_ctx libc_feholdsetround_aarch64_ctx
@@ -290,6 +288,7 @@ libc_feholdsetround_noex_aarch64_ctx (struct rm_ctx *ctx, int r)
_FPU_GETCW (fpcr);
_FPU_GETFPSR (fpsr);
+ ctx->env.__fpcr = fpcr;
ctx->env.__fpsr = fpsr;
/* Check whether rounding modes are different. */
@@ -298,10 +297,7 @@ libc_feholdsetround_noex_aarch64_ctx (struct rm_ctx *ctx, int r)
/* Set the rounding mode if changed. */
if (__glibc_unlikely (round != 0))
- {
- ctx->env.__fpcr = fpcr;
- _FPU_SETCW (fpcr ^ round);
- }
+ _FPU_SETCW (fpcr ^ round);
}
#define libc_feholdsetround_noex_ctx libc_feholdsetround_noex_aarch64_ctx
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
sysdeps/aarch64/fpu/math_private.h | 12 ++++--------
2 files changed, 10 insertions(+), 8 deletions(-)
hooks/post-receive
--
GNU C Library master sources