[PATCH] D151587: [clang][ConstantEmitter] have tryEmitPrivateForVarInit try ConstExprEmitter fast-path first
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 5 15:40:17 PDT 2023
efriedma added a comment.
The following also crashes, with no MaterializeTemporaryExpr involved.
struct X {
short n;
char c;
};
struct Y {
_Atomic(X) a;
_Atomic(int) b;
};
constexpr X x{};
int z;
Y y = { x, z };
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151587/new/
https://reviews.llvm.org/D151587
More information about the cfe-commits
mailing list