[all-commits] [llvm/llvm-project] 63b0b8: When float_t and double_t types are used inside a ...

Zahira Ammarguellat via All-commits all-commits at lists.llvm.org
Fri Jun 23 12:21:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63b0b82fd6bee672fa20078aa2fbe3c4ee2b8970
      https://github.com/llvm/llvm-project/commit/63b0b82fd6bee672fa20078aa2fbe3c4ee2b8970
  Author: Zahira Ammarguellat <Zahira.Ammarguellat at intel.com>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/TokenKinds.def
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    A clang/test/Sema/attr-only-in-default-eval.cpp
    A clang/test/Sema/fp-eval-pragma-with-float-double_t-1.c
    A clang/test/Sema/fp-eval-pragma-with-float-double_t-2.c
    A clang/test/Sema/fp-eval-pragma-with-float-double_t-3.c

  Log Message:
  -----------
  When float_t and double_t types are used inside a scope with
a '#pragma clang fp eval_method, it can lead to ABI breakage.
See https://godbolt.org/z/56zG4Wo91
This patch prevents this.

Differential Revision: https://reviews.llvm.org/D153590




More information about the All-commits mailing list