summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-21 03:49:52 +0000
committerngie <ngie@FreeBSD.org>2017-02-21 03:49:52 +0000
commit6bb8667c7233f97f9762f1638725b2818156a767 (patch)
tree5ac12881a7d518e6c0840f8330d17df3757948c2 /lib/msun
parent6a1920b2651a12396933ded2d13c0cffee2f70c1 (diff)
downloadFreeBSD-src-6bb8667c7233f97f9762f1638725b2818156a767.zip
FreeBSD-src-6bb8667c7233f97f9762f1638725b2818156a767.tar.gz
MFC r313713:
Handle clang 4.x+ with the compile-time exception added in r312213 It also fails the assertions noted in bug 208703 PR: 208703 PR: 217084
Diffstat (limited to 'lib/msun')
-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