summaryrefslogtreecommitdiffstats
path: root/lib/msun/tests/fmaxmin_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/tests/fmaxmin_test.c')
-rw-r--r--lib/msun/tests/fmaxmin_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/msun/tests/fmaxmin_test.c b/lib/msun/tests/fmaxmin_test.c
index 87adb95..24056b0 100644
--- a/lib/msun/tests/fmaxmin_test.c
+++ b/lib/msun/tests/fmaxmin_test.c
@@ -116,7 +116,8 @@ testall(int testnum, long double big, long double small)
/* Clang 3.8.0+ fails the invariants for testcase 6, 7, 10, and 11. */
#if defined(__clang__) && \
- (__clang_major__ >= 3 && __clang_minor__ >= 8 && __clang_patchlevel__ >= 0)
+ ((__clang_major__ > 3)) || \
+ ((__clang_major__ == 3 && __clang_minor__ >= 8))
#define affected_by_bug_208703
#endif
OpenPOWER on IntegriCloud