[clang] [clang] Load non-simple lvalue operands of __builtin_bit_cast (PR #231830)
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 17 17:11:00 PDT 2026
================
@@ -3404,6 +3404,15 @@ void CastOperation::CheckBuiltinBitCast() {
return;
}
+ if (SrcExpr.get()->isGLValue() &&
----------------
hubert-reinterpretcast wrote:
Is it intended then that volatile glvalues would be rejected? It seems GCC accepts them.
https://github.com/llvm/llvm-project/pull/231830
More information about the cfe-commits
mailing list