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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
