Author: dim
Date: Fri Feb  8 18:31:54 2019
New Revision: 343917
URL: https://svnweb.freebsd.org/changeset/base/343917

Log:
  Amend r343442, by only expecting the lib.msun.cbrt_test.cbrtl_powl and
  trig_test.reduction test cases to fail, if the fixes from r343916 have
  not yet been applied to the base compiler.
  
  Reported by:    lwhsu
  PR:           234040
  Upstream PR:  https://bugs.llvm.org/show_bug.cgi?id=40206
  MFC after:    1 week

Modified:
  head/contrib/netbsd-tests/lib/libm/t_cbrt.c
  head/lib/msun/tests/trig_test.c

Modified: head/contrib/netbsd-tests/lib/libm/t_cbrt.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libm/t_cbrt.c Fri Feb  8 18:24:53 2019        
(r343916)
+++ head/contrib/netbsd-tests/lib/libm/t_cbrt.c Fri Feb  8 18:31:54 2019        
(r343917)
@@ -268,7 +268,8 @@ ATF_TC_BODY(cbrtl_powl, tc)
        long double y, z;
        size_t i;
 
-#if defined(__amd64__) && defined(__clang__) && __clang_major__ >= 7
+#if defined(__amd64__) && defined(__clang__) && __clang_major__ >= 7 && \
+    __FreeBSD_cc_version < 1300002
        atf_tc_expect_fail("test fails with clang 7+ - bug 234040");
 #endif
 

Modified: head/lib/msun/tests/trig_test.c
==============================================================================
--- head/lib/msun/tests/trig_test.c     Fri Feb  8 18:24:53 2019        
(r343916)
+++ head/lib/msun/tests/trig_test.c     Fri Feb  8 18:31:54 2019        
(r343917)
@@ -160,7 +160,8 @@ ATF_TC_BODY(reduction, tc)
 
        unsigned i;
 
-#if defined(__amd64__) && defined(__clang__) && __clang_major__ >= 7
+#if defined(__amd64__) && defined(__clang__) && __clang_major__ >= 7 && \
+    __FreeBSD_cc_version < 1300002
        atf_tc_expect_fail("test fails with clang 7+ - bug 234040");
 #endif
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to