[libcxx] r206805 - Use compiler intrinsic __is_constructible if available

İsmail Dönmez ismail at donmez.ws
Tue Apr 29 05:51:09 PDT 2014


Hi,

Attached is a testcase with unrelated errors in it. I am still trying to
reduce a non-error version but if this one works cool.

Get latest libcxx and compile with clang++ -std=c++11 -c testcase.ii



On Fri, Apr 25, 2014 at 9:49 PM, Richard Smith <metafoo at gmail.com> wrote:

> Any chance you could produce a reduced testcase and file a bug against
> Clang? =)
>
>
> On Fri Apr 25 2014 at 11:37:56 AM, İsmail Dönmez <ismail at donmez.ws> wrote:
>
>> Hi,
>>
>>
>> On Fri, Apr 25, 2014 at 6:09 PM, Marshall Clow <mclow.lists at gmail.com>wrote:
>>
>>>
>>> On Apr 24, 2014, at 2:44 AM, İsmail Dönmez <ismail at donmez.ws> wrote:
>>>
>>> Hi,
>>>
>>>
>>> On Tue, Apr 22, 2014 at 1:30 AM, Marshall Clow <mclow.lists at gmail.com>wrote:
>>>
>>>> Author: marshall
>>>> Date: Mon Apr 21 17:30:32 2014
>>>> New Revision: 206805
>>>>
>>>> URL: http://llvm.org/viewvc/llvm-project?rev=206805&view=rev
>>>> Log:
>>>> Use compiler intrinsic __is_constructible if available
>>>>
>>>> Modified:
>>>>     libcxx/trunk/include/type_traits
>>>>
>>>
>>> This breaks the llvm compilation (in stage2 hence clang is the compiler
>>> here) for me on Linux/x86-64:
>>>
>>>
>>> Sorry; was in meetings all day yesterday.
>>> Looks like a bug in the __is_constructible code in clang.
>>>
>>> As a workaround (and a check to make sure that’s what it is), would you
>>> please change (in type_traits)
>>>
>>> #if __has_feature(is_constructible)
>>> to
>>> #if 0
>>>
>>> and let me know if that fixes the crash?
>>>
>>
>> This indeed fixes the crash.
>>
>> Regards.
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140429/9f5198d9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcase.ii
Type: application/octet-stream
Size: 2710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140429/9f5198d9/attachment.obj>


More information about the cfe-commits mailing list