[cfe-dev] New failure in LibC++ tests on v4.0 branch

Eric Fiselier via cfe-dev cfe-dev at lists.llvm.org
Sat Feb 4 12:15:53 PST 2017


Hi Martin,

Are you sure you also updated the libc++ tests? The line numbers in the
errors don't match up with `emplace_front.pass.cpp` in the 4.0 branch.

/Eric

On Sat, Feb 4, 2017 at 10:52 AM, Martin J. O'Riordan via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Yesterday I updated to revision #294006 of the v4.0 branch, but I am
> getting a few new failures in the C++ test-suite.  One example is:
>
>
>
> llvm/projects/libcxx/test/std/containers/sequences/
> forwardlist/forwardlist.modifiers/emplace_front.pass.cpp
>
>
>
> For which I get the following errors:
>
>
>
> llvm/projects/libcxx/test/std/containers/sequences/
> forwardlist/forwardlist.modifiers/emplace_front.pass.cpp:28:12: error:
> non-const lvalue reference to type 'T' (aka 'Emplaceable') cannot bind to a
> temporary of type 'void'
>
>         T& r1 = c.emplace_front();
>
>            ^    ~~~~~~~~~~~~~~~~~
>
> llvm/projects/libcxx/test/std/containers/sequences/
> forwardlist/forwardlist.modifiers/emplace_front.pass.cpp:32:12: error:
> non-const lvalue reference to type 'T' (aka 'Emplaceable') cannot bind to a
> temporary of type 'void'
>
>         T& r2 = c.emplace_front(1, 2.5);
>
>            ^    ~~~~~~~~~~~~~~~~~~~~~~~
>
> llvm/projects/libcxx/test/std/containers/sequences/
> forwardlist/forwardlist.modifiers/emplace_front.pass.cpp:42:12: error:
> non-const lvalue reference to type 'T' (aka 'Emplaceable') cannot bind to a
> temporary of type 'void'
>
>         T& r1 = c.emplace_front();
>
>            ^    ~~~~~~~~~~~~~~~~~
>
> llvm/projects/libcxx/test/std/containers/sequences/
> forwardlist/forwardlist.modifiers/emplace_front.pass.cpp:46:12: error:
> non-const lvalue reference to type 'T' (aka 'Emplaceable') cannot bind to a
> temporary of type 'void'
>
>         T& r2 = c.emplace_front(1, 2.5);
>
>            ^    ~~~~~~~~~~~~~~~~~~~~~~~
>
> 4 errors generated.
>
>
>
> This is with a clean build, and I am compiling with ‘-std=c++14 -UNDEBUG’.
> With my previous build based on revision #293059 this was working okay.
>
>
>
> Is this a known regression, or something new?
>
>
>
> Thanks,
>
>
>
>             MartinO
>
>
>
> _______________________________________________
> 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/20170204/4bf02834/attachment.html>


More information about the cfe-dev mailing list