[cfe-dev] Recent failing tests in libc++

Richard Smith via cfe-dev cfe-dev at lists.llvm.org
Tue May 29 15:21:47 PDT 2018


On 28 May 2018 at 17:01, Marshall Clow via cfe-dev <cfe-dev at lists.llvm.org>
wrote:

> On Mon, May 28, 2018 at 2:29 PM, Richard Smith <richard at metafoo.co.uk>
> wrote:
>
>> Clang 5 implemented the originally adopted proposal. The behaviour you're
>> referring to was introduced by P0620R0, which I think was not implemented
>> until Clang 6.
>>
>
> That would explain what I'm seeing.
>
>
>> Perhaps we should bump the deduction guides feature test macro version
>> for that paper?
>>
>
> I don't see any mention of feature macros in P0620R0 :-(
> Besides, I don't see how it will help now that clang 6 is out there.
>

We can bump the reported version for clang 6.0.1 and clang 7, at least.


> -- Marshall
>
>
>
>
>> On 28 May 2018 14:10, "Marshall Clow via cfe-dev" <cfe-dev at lists.llvm.org>
>> wrote:
>>
>> On Mon, May 28, 2018 at 12:51 PM, Marshall Clow <mclow.lists at gmail.com>
>> wrote:
>>
>>> This past week, I checked in a bunch of code (and tests) having to do
>>> with the deduction guides features of C++17 - adding support for many of
>>> the standard library types. Some of the tests started failing - mostly (but
>>> not exclusively) on ARM. JF tried to fix some of the tests on Friday, but
>>> was not completely successful.
>>>
>>> Today, I took a fresh look at the failures, and realized that all but
>>> one of them were on bots that were running clang-5.  It appears that
>>> clang-5 has a bug where it mis-deduces the template arguments when it is
>>> handed something that looks like a copy constructor. (Alternately, it
>>> implicitly generates an incorrect template deduction guide and uses that.)
>>>
>>
>> Another possible diagnosis is that clang-5 generates no implicit
>> deduction guides - and only uses the explicitly provided ones.
>>
>> -- Marshall
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>>
>>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180529/1d07fb2e/attachment.html>


More information about the cfe-dev mailing list