[all-commits] [llvm/llvm-project] 9daab7: [ExprConstant] fix ICE from Evaluate on _Atomic st...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Thu Jun 8 13:20:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9daab7fb02d2a7340dbc78d15d248ef9aaf1214c
      https://github.com/llvm/llvm-project/commit/9daab7fb02d2a7340dbc78d15d248ef9aaf1214c
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/CodeGenCXX/atomicinit.cpp

  Log Message:
  -----------
  [ExprConstant] fix ICE from Evaluate on _Atomic structs

Fixes two crashes reported by @efriedma and @ahatanak, as per
@ahatanak's analysis.

Link: https://reviews.llvm.org/D151587#4397446
Link: https://reviews.llvm.org/D151587#4399684

Reviewed By: ahatanak, aaron.ballman

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




More information about the All-commits mailing list