From efd039a62e635b3fc5dc68a773fbf22705c5c0e8 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Tue, 15 Nov 2016 22:03:29 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@287041 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/libcxx/numerics/c.math/constexpr-fns.pass.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp b/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp index 92b91036a..1419b6c9a 100644 --- a/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp +++ b/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp @@ -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