[PATCH] D109239: Add support for floating-option `-ffp-eval-method` and for new `pragma clang fp eval-method`
Aleksandr Platonov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 23 23:28:45 PDT 2022
ArcsinX added a comment.
It seems for x86_32 case (e.g. with -m32 in command line) there is a difference between clang and GCC:
clang: `__FLT_EVAL_METHOD__` == 0
GCC: `__FLT_EVAL_METHOD__` == 2
Example:
https://godbolt.org/z/EbY8rPYGn
I am not sure, is it a correct behavior from clang?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109239/new/
https://reviews.llvm.org/D109239
More information about the cfe-commits
mailing list