From b8c792af85fe3ff65c0cd68e2f291072a60cd953 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 20 Jun 2013 19:11:34 +0000 Subject: Allow fesetround failures in math/test-misc.c if ROUNDING_TESTS fails. --- math/test-misc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'math') diff --git a/math/test-misc.c b/math/test-misc.c index 390415a..27d673b 100644 --- a/math/test-misc.c +++ b/math/test-misc.c @@ -1295,7 +1295,11 @@ main (void) if (fesetround (mode)) { printf ("failed to set rounding mode to %s\n", mstr); - result = 1; + if (ROUNDING_TESTS (long double, mode) + && ROUNDING_TESTS (double, mode)) + result = 1; + else + puts ("ignoring this failure"); break; } d5 = ld5 * i; -- cgit v1.1