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
Submitted by:	jbeich
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-02-14 00:54:48 +00:00
parent 3bd0d6b434
commit 87dc0e9bc9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=313713

View File

@ -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