[libcxx] r287041 - [libcxx] Mark xonstexpr-fns.pass.cpp as XFAIL: gcc.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 15 14:03:30 PST 2016


Author: jlebar
Date: Tue Nov 15 16:03:29 2016
New Revision: 287041

URL: http://llvm.org/viewvc/llvm-project?rev=287041&view=rev
Log:
[libcxx] Mark xonstexpr-fns.pass.cpp as XFAIL: gcc.

This fails with gcc because __builtin_isnan and friends, which
libcpp_isnan and friends call, are not themselves constexpr-evaluatable.

Modified:
    libcxx/trunk/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp

Modified: libcxx/trunk/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp?rev=287041&r1=287040&r2=287041&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp Tue Nov 15 16:03:29 2016
@@ -15,7 +15,11 @@
 // constexpr-evaluatable, but that's what we check here, since we can't check
 // true constexpr-ness.
 //
+// This fails with gcc because __builtin_isnan and friends, which libcpp_isnan
+// and friends call, are not themselves constexpr-evaluatable.
+//
 // UNSUPPORTED: c++98, c++03
+// XFAIL: gcc
 
 #include <cmath>
 




More information about the cfe-commits mailing list