[all-commits] [llvm/llvm-project] 38449c: [Driver] Default to -fno-math-errno for musl
Alex Xu via All-commits
all-commits at lists.llvm.org
Fri Feb 4 19:20:44 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 38449c98f3d33dffdaf7e1feeb9dfdcf63b5126b
https://github.com/llvm/llvm-project/commit/38449c98f3d33dffdaf7e1feeb9dfdcf63b5126b
Author: Alex Xu (Hello71) <alex_y_xu at yahoo.ca>
Date: 2022-02-04 (Fri, 04 Feb 2022)
Changed paths:
M clang/lib/Driver/ToolChains/Linux.cpp
M clang/test/Driver/fast-math.c
Log Message:
-----------
[Driver] Default to -fno-math-errno for musl
musl does not set errno in math functions: https://wiki.musl-libc.org/mathematical-library.html, https://git.musl-libc.org/cgit/musl/tree/include/math.h?id=cfdfd5ea3ce14c6abf7fb22a531f3d99518b5a1b#n26.
Reviewed By: srhines, MaskRay
Differential Revision: https://reviews.llvm.org/D116753
More information about the All-commits
mailing list