<div dir="ltr">Hi,<br><br>Just tried trunk and its still broken wrt. __is_constructible<br><br>ismail<div><font color="#500050" face="arial, sans-serif"><br></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Apr 29, 2014 at 3:51 PM, İsmail Dönmez <span dir="ltr"><<a href="mailto:ismail@donmez.ws" target="_blank">ismail@donmez.ws</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>Attached is a testcase with unrelated errors in it. I am still trying to reduce a non-error version but if this one works cool.</div><div><br></div><div>Get latest libcxx and compile with clang++ -std=c++11 -c testcase.ii</div>
<div><div class="h5">
<div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 9:49 PM, Richard Smith <span dir="ltr"><<a href="mailto:metafoo@gmail.com" target="_blank">metafoo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Any chance you could produce a reduced testcase and file a bug against Clang? =)<div><br><br><div>On Fri Apr 25 2014 at 11:37:56 AM, İsmail Dönmez <<a href="mailto:ismail@donmez.ws" target="_blank">ismail@donmez.ws</a>> wrote:</div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div dir="ltr">Hi,<div class="gmail_extra"><br><br><div class="gmail_quote"></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 25, 2014 at 6:09 PM, Marshall Clow <span dir="ltr"><<a href="mailto:mclow.lists@gmail.com" target="_blank">mclow.lists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div><div>On Apr 24, 2014, at 2:44 AM, İsmail Dönmez <<a href="mailto:ismail@donmez.ws" target="_blank">ismail@donmez.ws</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr">Hi,<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 1:30 AM, Marshall Clow <span dir="ltr"><<a href="mailto:mclow.lists@gmail.com" target="_blank">mclow.lists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Author: marshall<br>
Date: Mon Apr 21 17:30:32 2014<br>
New Revision: 206805<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=206805&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=206805&view=rev</a><br>
Log:<br>
Use compiler intrinsic __is_constructible if available<br>
<br>
Modified:<br>
libcxx/trunk/include/type_traits<br></blockquote><div><br></div><div>This breaks the llvm compilation (in stage2 hence clang is the compiler here) for me on Linux/x86-64:</div></div></div></div></blockquote><div><br>
</div></div>Sorry; was in meetings all day yesterday.</div><div>Looks like a bug in the __is_constructible code in clang.</div><div><br></div><div>As a workaround (and a check to make sure that’s what it is), would you please change (in type_traits)</div>
<div><br></div><div><span style="font-family:LucidaGrande">#if __has_feature(is_constructible)</span></div><div>to</div><div>#if 0</div><div><br></div><div>and let me know if that fixes the crash?</div></div></blockquote>
<div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>This indeed fixes the crash.</div><div><br></div><div>Regards.</div><div><br></div></div><br></div></div></div><div>
______________________________<u></u>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-commits</a><br>
</div></blockquote>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>