<div dir="ltr">Hi Martin,<div><br></div><div>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.</div><div><br></div><div>/Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 4, 2017 at 10:52 AM, Martin J. O'Riordan via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-IE" link="#0563C1" vlink="#954F72"><div class="m_2718604067579105837WordSection1"><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">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:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">llvm/projects/libcxx/test/</span><span style="font-family:"Book Antiqua",serif;color:black">std/<wbr>containers/sequences/<wbr>forwardlist/forwardlist.<wbr>modifiers/emplace_front.pass.<wbr>cpp<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Book Antiqua",serif;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">For which I get the following errors:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">llvm/projects/libcxx/test/std/<wbr>containers/sequences/<wbr>forwardlist/forwardlist.<wbr>modifiers/emplace_front.pass.<wbr>cpp:28:12: error: non-const lvalue reference to type 'T' (aka 'Emplaceable') cannot bind to a temporary of type 'void'<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">        T& r1 = c.emplace_front();<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">           ^    ~~~~~~~~~~~~~~~~~<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">llvm/projects/libcxx/test/std/<wbr>containers/sequences/<wbr>forwardlist/forwardlist.<wbr>modifiers/emplace_front.pass.<wbr>cpp:32:12: error: non-const lvalue reference to type 'T' (aka 'Emplaceable') cannot bind to a temporary of type 'void'<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">        T& r2 = c.emplace_front(1, 2.5);<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">           ^    ~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">llvm/projects/libcxx/test/std/<wbr>containers/sequences/<wbr>forwardlist/forwardlist.<wbr>modifiers/emplace_front.pass.<wbr>cpp:42:12: error: non-const lvalue reference to type 'T' (aka 'Emplaceable') cannot bind to a temporary of type 'void'<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">        T& r1 = c.emplace_front();<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">           ^    ~~~~~~~~~~~~~~~~~<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">llvm/projects/libcxx/test/std/<wbr>containers/sequences/<wbr>forwardlist/forwardlist.<wbr>modifiers/emplace_front.pass.<wbr>cpp:46:12: error: non-const lvalue reference to type 'T' (aka 'Emplaceable') cannot bind to a temporary of type 'void'<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">        T& r2 = c.emplace_front(1, 2.5);<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">           ^    ~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">4 errors generated.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">This is with a clean build, and I am compiling with ‘</span><span style="font-size:12.0pt;font-family:"Courier New"">-std=c++14 -UNDEBUG</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">’.  With my previous build based on revision #293059 this was working okay.  <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">Is this a known regression, or something new?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">Thanks,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif">            MartinO<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Book Antiqua",serif"><u></u> <u></u></span></p></div></div><br>______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>