Quantcast

New failure in LibC++ tests on v4.0 branch

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

New failure in LibC++ tests on v4.0 branch

Philip Reames via cfe-dev

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
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New failure in LibC++ tests on v4.0 branch

Philip Reames via cfe-dev
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 <[hidden email]> 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
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev



_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New failure in LibC++ tests on v4.0 branch

Philip Reames via cfe-dev

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

 

Thanks,

 

            MartinO

 

From: Eric Fiselier [mailto:[hidden email]]
Sent: 04 February 2017 20:16
To: Martin J. O'Riordan <[hidden email]>
Cc: cfe-dev <[hidden email]>; Marshall Clow <[hidden email]>
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 <[hidden email]> 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
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

 


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Loading...