[cfe-dev] lifetime of conditional temporaries

Victor Zverovich victor.zverovich at googlemail.com
Wed Nov 18 00:00:04 PST 2009


Here are corrected patches (forgot to initialize ConditionalBranchLevel in
the previous).

Regards,
Victor

2009/11/18 Victor Zverovich <victor.zverovich at googlemail.com>

> The first patch (cond-temp-test.patch) adds 3 new test cases that check the
> lifetime of conditional temporaries.
> The second patch (cond-temp.patch) fixes the bug making the new test cases
> pass.
>
> Victor
>
> 2009/11/17 Victor Zverovich <victor.zverovich at googlemail.com>
>
> I submitted it here http://llvm.org/bugs/show_bug.cgi?id=5539 so that it
>> is not lost until I come up with a fix.
>>
>> Victor
>>
>> 2009/11/17 Anders Carlsson <andersca at mac.com>
>>
>> 17 nov 2009 kl. 04.44 skrev Victor Zverovich:
>>>
>>> > Dear all
>>> >
>>> > The same applies to && and || operators. Is this intended or needs to
>>> be fixed in clang?
>>> > In the latter case and if nobody is already working on it I can try
>>> fixing it.
>>> >
>>>
>>> Hi Victor,
>>>
>>> this should work. Please file a bug.
>>>
>>> Anders
>>>
>>> > Best regards,
>>> > Victor
>>> >
>>> > _______________________________________________
>>> > cfe-dev mailing list
>>> > cfe-dev at cs.uiuc.edu
>>> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091118/a02d0a61/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cond-temp-test.patch
Type: application/octet-stream
Size: 798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091118/a02d0a61/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cond-temp.patch
Type: application/octet-stream
Size: 6874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091118/a02d0a61/attachment-0001.obj>


More information about the cfe-dev mailing list