[libc-commits] [libc] [libc] Disable fenv tests that don't work in Arm/AArch64 softfp (PR #217334)

Peter Smith via libc-commits libc-commits at lists.llvm.org
Fri Aug 21 04:01:22 PDT 2026


================
@@ -62,4 +67,5 @@ TEST_F(LlvmLibcExceptionStatusTest, RaiseAndCrash) {
     LIBC_NAMESPACE::fputil::disable_except(FE_ALL_EXCEPT);
     ASSERT_EQ(LIBC_NAMESPACE::feclearexcept(FE_ALL_EXCEPT), 0);
   }
+#endif
----------------
smithp35 wrote:

Can you add a comment on the #endif, like the `#endif // LIBC_TRAP_ON_RAISE_FP_EXCEPT` above. May need to truncate the condition a bit, just need enough to easily match the `#endif` 

I think this applies to a lot of the tests.

https://github.com/llvm/llvm-project/pull/217334


More information about the libc-commits mailing list