<div dir="ltr">On Thu, Jun 20, 2013 at 2:25 PM, Nico Weber <span dir="ltr"><<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks for the quick review!</div><div class="im"><div><br></div>On Thu, Jun 20, 2013 at 2:02 PM, Eli Friedman <span dir="ltr"><<a href="mailto:eli.friedman@gmail.com" target="_blank">eli.friedman@gmail.com</a>></span> wrote:<br>

</div><div class="gmail_extra"><div class="gmail_quote"><div class="im"><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">
<div dir="ltr">
<div><div>On Thu, Jun 20, 2013 at 1:45 PM, Nico Weber <span dir="ltr"><<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">


<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"><div dir="ltr">Hi,<div><br></div><div>the attached patch lazily inserts a __float128 type the first time one is looked up. This is needed to compile libstdc++4.7+ headers in -std=gnu++11 mode. This fixes PR13530, see that bug for more information.</div>



<div><br></div><div>Ok?</div><span><font color="#888888"><div></div></font></span></div></blockquote></div><br></div></div></div><div class="gmail_extra">Is there any particular reason you're checking for GNUMode?</div>

</div></blockquote><div><br></div></div><div>Yes, type_traits only adds __is_floating_pointer_helper<__float128> if __STRICT_ANSI__ isn't defined. InitPreprocessor.cpp defines this exactly if !GNUMode. I changed the test to check for __STRICT_ANSI__ to maybe make this a bit clearer.</div>
<div class="im">
<div> </div><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"><div dir="ltr">
<div class="gmail_extra">"variable has incomplete type '__float128'" is a terrible error message if someone actually tries to use __float128 with clang.  Can we do better?<br></div></div></blockquote><div>

<br></div></div><div>We can, attached.</div><div> </div><div><br></div></div></div></div></blockquote><div><br></div><div>Not sure if this catches all cases, but it's probably good enough.</div><div><br></div><div>Otherwise, looks fine.</div>
<div><br></div><div>-Eli </div></div><br></div></div>