[cfe-dev] New failure in LibC++ tests on v4.0 branch
Martin J. O'Riordan via cfe-dev
cfe-dev at lists.llvm.org
Sat Feb 4 09:52:40 PST 2017
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.m
odifiers/emplace_front.pass.cpp
For which I get the following errors:
llvm/projects/libcxx/test/std/containers/sequences/forwardlist/forwardlist.m
odifiers/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.m
odifiers/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.m
odifiers/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.m
odifiers/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170204/0db36b5f/attachment.html>
More information about the cfe-dev
mailing list