[libc-commits] [libc] [libc] Fix shared math tests for gcc-13. (PR #199318)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Fri May 22 22:53:45 PDT 2026
================
@@ -808,10 +808,14 @@ TEST(LlvmLibcSharedMathTest, AllBFloat16) {
EXPECT_FP_EQ(bfloat16(0.0), LIBC_NAMESPACE::shared::nextafterbf16(
bfloat16(0.0), bfloat16(0.0)));
EXPECT_FP_EQ(bfloat16(1.0), LIBC_NAMESPACE::shared::sqrtbf16(bfloat16(1.0)));
-#ifndef LIBC_TYPES_LONG_DOUBLE_IS_DOUBLE_DOUBLE
- EXPECT_FP_EQ(bfloat16(0.0),
- LIBC_NAMESPACE::shared::nexttowardbf16(bfloat16(0.0), 0.0L));
-#endif // LIBC_TYPES_LONG_DOUBLE_IS_DOUBLE_DOUBLE
+ // TODO: This test case just failed only when building with gcc-13 and only
----------------
kaladron wrote:
Since this is a failure on a newer target, please file an issue for it. We won't keep track of these otherwise.
This also might be a good reason to explore a .ll file and do something more with lit.
Let's talk about it when we meet next?
https://github.com/llvm/llvm-project/pull/199318
More information about the libc-commits
mailing list