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.15-716-g0be196a
- From: aj at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 2 May 2012 14:34:40 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-716-g0be196a
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 0be196addae0e464aa32fcccc9d679c2f83f01b4 (commit)
from 4f9d04aa8fcc5008995409d524086121e9a840dc (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=0be196addae0e464aa32fcccc9d679c2f83f01b4
commit 0be196addae0e464aa32fcccc9d679c2f83f01b4
Author: Andreas Jaeger <aj@suse.de>
Date: Wed May 2 16:33:18 2012 +0200
Use -frounding-math for math testsuite
We should tell GCC that we manipulate the rounding mode and
therefore add -frounding-math to these files that call fesetround.
diff --git a/ChangeLog b/ChangeLog
index 4b36557..5e4ce0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2012-05-02 Andreas Jaeger <aj@suse.de>
+
+ * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
+ since we manipulate rounding mode.
+ (CPPFLAGS-test-idouble.c): Likewise.
+ (CPPFLAGS-test-ifloat.c): Likewise.
+ (CFLAGS-test-ldouble.c): Likewise.
+ (CFLAGS-test-double.c): Likewise.
+ (CFLAGS-test-float.c): Likewise.
+ (CFLAGS-test-misc.c): Likewise.
+ (CFLAGS-test-test-fenv.c): Likewise.
+
2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #2550]
diff --git a/math/Makefile b/math/Makefile
index abeba7a..60e3899 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -122,19 +122,21 @@ $(objpfx)test-ldouble.o: $(objpfx)libm-test.stmp
$(objpfx)test-ildoubl.o: $(objpfx)libm-test.stmp
endif
-CFLAGS-test-float.c = -fno-inline -ffloat-store -fno-builtin
-CFLAGS-test-double.c = -fno-inline -ffloat-store -fno-builtin
-CFLAGS-test-ldouble.c = -fno-inline -ffloat-store -fno-builtin
+CFLAGS-test-float.c = -fno-inline -ffloat-store -fno-builtin -frounding-math
+CFLAGS-test-double.c = -fno-inline -ffloat-store -fno-builtin -frounding-math
+CFLAGS-test-ldouble.c = -fno-inline -ffloat-store -fno-builtin -frounding-math
CFLAGS-test-tgmath.c = -fno-builtin
CFLAGS-test-tgmath2.c = -fno-builtin
CFLAGS-test-tgmath-ret.c = -fno-builtin
CFLAGS-test-powl.c = -fno-builtin
+CFLAGS-test-test-fenv.c = -frounding-math
+CFLAGS-test-misc.c = -frounding-math
CPPFLAGS-test-ifloat.c = -U__LIBC_INTERNAL_MATH_INLINES -D__FAST_MATH__ \
- -DTEST_FAST_MATH -fno-builtin
+ -DTEST_FAST_MATH -fno-builtin -frounding-math
CPPFLAGS-test-idouble.c = -U__LIBC_INTERNAL_MATH_INLINES -D__FAST_MATH__ \
- -DTEST_FAST_MATH -fno-builtin
+ -DTEST_FAST_MATH -fno-builtin -frounding-math
CPPFLAGS-test-ildoubl.c = -U__LIBC_INTERNAL_MATH_INLINES -D__FAST_MATH__ \
- -DTEST_FAST_MATH -fno-builtin
+ -DTEST_FAST_MATH -fno-builtin -frounding-math
# The -lieee module sets the _LIB_VERSION_ switch to IEEE mode
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 12 ++++++++++++
math/Makefile | 14 ++++++++------
2 files changed, 20 insertions(+), 6 deletions(-)
hooks/post-receive
--
GNU C Library master sources