about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-06-01 10:46:08 -0700
committerRichard Henderson <rth@twiddle.net>2012-06-01 10:46:08 -0700
commitf93d7902de4adbf944a3712b35f9e13108cd2874 (patch)
tree300ad377d0a667e855088296bbbb3419b519f9ef
parent4b32777daa1f17e23c463be1de3621e84025f938 (diff)
downloadglibc-f93d7902de4adbf944a3712b35f9e13108cd2874.tar.gz
glibc-f93d7902de4adbf944a3712b35f9e13108cd2874.tar.xz
glibc-f93d7902de4adbf944a3712b35f9e13108cd2874.zip
alpha: Use -mieee-with-inexact with math/test-misc
-rw-r--r--ChangeLog.alpha2
-rw-r--r--sysdeps/alpha/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index 16d73c6111..1d3e6bd579 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,7 @@
 2012-06-01  Richard Henderson  <rth@twiddle.net>
 
+	* sysdeps/alpha/Makefile (CFLAGS-test-misc.c): Set -mieee-with-inexact.
+
 	* sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
 
 2012-05-30  Richard Henderson  <rth@twiddle.net>
diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile
index 17fd3b84d7..1a80db8dcc 100644
--- a/sysdeps/alpha/Makefile
+++ b/sysdeps/alpha/Makefile
@@ -41,6 +41,8 @@ ifeq ($(subdir),math)
 # The fma routines rely on inexact being raised for correct results.
 CFLAGS-s_fma.c = -mieee-with-inexact
 CFLAGS-s_fmaf.c = -mieee-with-inexact
+# This test tries to check for inexact being raised by arithmetic.
+CFLAGS-test-misc.c += -mieee-with-inexact
 endif
 
 # Build everything with full IEEE math support, and with dynamic rounding;