[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 13:52:09 PST 2017


That’s exactly what I missed - duh!  I still had the tests from #293059 not #294006.

 

Thanks,

 

            MartinO

 

From: Eric Fiselier [mailto:eric at efcs.ca] 
Sent: 04 February 2017 20:16
To: Martin J. O'Riordan <Martin.ORiordan at movidius.com>
Cc: cfe-dev <cfe-dev at lists.llvm.org>; Marshall Clow <mclow.lists at gmail.com>
Subject: Re: [cfe-dev] New failure in LibC++ tests on v4.0 branch

 

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 <mailto: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 <mailto: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/3906477d/attachment.html>


More information about the cfe-dev mailing list