diff --git a/clang/lib/AST/ByteCode/Compiler.cpp b/clang/lib/AST/ByteCode/Compiler.cpp index 754affffb8f04a..a95353fd2943c9 100644 --- a/clang/lib/AST/ByteCode/Compiler.cpp +++ b/clang/lib/AST/ByteCode/Compiler.cpp @@ -6514,6 +6514,8 @@ bool Compiler::emitBuiltinBitCast(const CastExpr *E) { return false; if (!this->emitGetPtrLocal(TempOffset, E)) return false; + } else { + return false; } if (!ToT || ToT == PT_Ptr) {