<div dir="ltr"><div style>Thanks for the quick review!</div><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 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">
<div><div class="h5">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 style>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> </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 style>We can, attached.</div><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"></div><span class=""><font color="#888888">
<div class="gmail_extra"><br></div><div class="gmail_extra">-Eli</div></font></span></div>
</blockquote></div><br></div></div>