summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp b/libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp
index 92b91036aa8..1419b6c9a0d 100644
--- a/libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp
+++ b/libcxx/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 <cmath>
OpenPOWER on IntegriCloud