[all-commits] [llvm/llvm-project] 2f1264: Revert "Currently the control of the eval-method i...

Zahira Ammarguellat via All-commits all-commits at lists.llvm.org
Fri Mar 10 11:44:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f1264260b37e9bd79737181e459ae20e10c5fea
      https://github.com/llvm/llvm-project/commit/2f1264260b37e9bd79737181e459ae20e10c5fea
  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.




More information about the All-commits mailing list