Index: head/contrib/netbsd-tests/lib/libm/t_cbrt.c =================================================================== --- head/contrib/netbsd-tests/lib/libm/t_cbrt.c +++ head/contrib/netbsd-tests/lib/libm/t_cbrt.c @@ -268,6 +268,10 @@ long double y, z; size_t i; +#if defined(__amd64__) && defined(__clang__) && __clang_major__ >= 7 + atf_tc_expect_fail("test fails with clang 7+ - bug 234040"); +#endif + for (i = 0; i < __arraycount(x); i++) { y = cbrtl(x[i]); Index: head/lib/msun/tests/trig_test.c =================================================================== --- head/lib/msun/tests/trig_test.c +++ head/lib/msun/tests/trig_test.c @@ -160,6 +160,10 @@ unsigned i; +#if defined(__amd64__) && defined(__clang__) && __clang_major__ >= 7 + atf_tc_expect_fail("test fails with clang 7+ - bug 234040"); +#endif + for (i = 0; i < nitems(f_pi_odd); i++) { ATF_CHECK(fabs(sinf(f_pi_odd[i])) < FLT_EPSILON); ATF_CHECK(cosf(f_pi_odd[i]) == -1.0);