[clang] [clang] Fix crash in code with StmtExpr and atomic char load in Expr::EvaluateAsRValue. (PR #106751)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 30 20:14:42 PDT 2024


https://github.com/shafik commented:

@tbaederr I am not confident this is the right approach.

If we compare the non-statement-expression case: https://godbolt.org/z/vseWeh5jP

We don't have the same issue as the original case: https://godbolt.org/z/Gh13WcMEz

So I suspect there is something about the statement-expression causing a confusion and we need to fix that instead.

https://github.com/llvm/llvm-project/pull/106751


More information about the cfe-commits mailing list