================
@@ -12876,6 +12799,9 @@ Address
CGOpenMPRuntime::getAddressOfLocalVariable(CodeGenFunction &CGF,
// Use the default allocation.
if (!isAllocatableDecl(VD))
return UntiedAddr;
+ // Unreachable declaration: nothing can run the allocation.
----------------
alexey-bataev wrote:
It can be checked earlier
https://github.com/llvm/llvm-project/pull/242302
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits