[libc-commits] [libc] [libc] Make LIBC_MATH_NO_ERRNO imply `-fno-math-errno` (PR #125794)
via libc-commits
libc-commits at lists.llvm.org
Tue Feb 4 21:13:15 PST 2025
================
@@ -1,11 +1,6 @@
function(_get_common_test_compile_options output_var c_test flags)
_get_compile_options_from_flags(compile_flags ${flags})
- # Remove -fno-math-errno if it was added.
- if(LIBC_ADD_FNO_MATH_ERRNO)
- list(REMOVE_ITEM compile_options "-fno-math-errno")
----------------
lntue wrote:
Are there tests failed because of this part? Last time I tried, there are failed math tests that check errno when the tests are built with `-fno-math-errno`.
https://github.com/llvm/llvm-project/pull/125794
More information about the libc-commits
mailing list