[cfe-commits] r65751 - in /cfe/trunk: lib/CodeGen/CGBlocks.cpp test/CodeGenObjC/blocks-unsupported.m
Anders Carlsson
andersca at mac.com
Sun Mar 1 15:39:46 PST 2009
On Mar 1, 2009, at 2:21 PM, Mike Stump wrote:
> On Mar 1, 2009, at 1:05 PM, Anders Carlsson wrote:
>> is going to blow up because the returned block references a stack
>> variable that doesn't exist.
>
> Yes, known issue. We don't support Block_copy in it's full
> generality yet. I'll probably be doing that next week. The
> aforementioned projects don't use Block_copy in this way.
If __block variables don't work with Block_copy, then I can't see how
they are not an unsupported feature (Especially not since you're going
to get miscompiles and potentially crashes in generated code).
Anders
More information about the cfe-commits
mailing list