[all-commits] [llvm/llvm-project] fce3e7: Revert "Currently the control of the eval-method i...
Zahira Ammarguellat via All-commits
all-commits at lists.llvm.org
Fri Mar 10 22:55:27 PST 2023
Branch: refs/heads/release/16.x
Home: https://github.com/llvm/llvm-project
Commit: fce3e75e01babe38576b1519dab5f752955525f9
https://github.com/llvm/llvm-project/commit/fce3e75e01babe38576b1519dab5f752955525f9
Author: Zahira Ammarguellat <zahira.ammarguellat at intel.com>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
M clang/include/clang/Lex/Preprocessor.h
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Lex/Preprocessor.cpp
M clang/lib/Sema/SemaAttr.cpp
M clang/test/CodeGen/X86/fexcess-precision.c
R clang/test/CodeGen/eval-method-fast-math.cpp
M clang/test/Preprocessor/flt_eval_macro.cpp
Log Message:
-----------
Revert "Currently the control of the eval-method is mixed with fast-math."
Setting __FLT_EVAL_METHOD__ to -1 with fast-math will set
__GLIBC_FLT_EVAL_METHOD to 2 and long double ends up being used for
float_t and double_t. This creates some ABI breakage with various C libraries.
See details here: https://github.com/llvm/llvm-project/issues/60781
This reverts commit bbf0d1932a3c1be970ed8a580e51edf571b80fd5.
(cherry picked from commit 2f1264260b37e9bd79737181e459ae20e10c5fea)
More information about the All-commits
mailing list