[all-commits] [llvm/llvm-project] 543932: [libc] Make LIBC_MATH_NO_ERRNO imply `-fno-math-er...
Petr Hosek via All-commits
all-commits at lists.llvm.org
Thu Oct 16 10:01:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 543932f034a15a8a1f6fda545432f87d26949667
https://github.com/llvm/llvm-project/commit/543932f034a15a8a1f6fda545432f87d26949667
Author: Petr Hosek <phosek at google.com>
Date: 2025-10-16 (Thu, 16 Oct 2025)
Changed paths:
M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/config/baremetal/config.json
Log Message:
-----------
[libc] Make LIBC_MATH_NO_ERRNO imply `-fno-math-errno` (#125794)
This partially reverts #124200. Rather than using a CMake option to
control whether to enable `-fno-math-errno`, use LIBC_MATH_NO_ERRNO
configuration option. While there might be other cases when we want to
set `-fno-math-errno`, having LIBC_MATH_NO_ERRNO imply it should be
always safe and represents a reasonable starting point.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list