<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 15, 2016 at 12:27 AM, Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov">hfinkel@anl.gov</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"><div class="gmail-HOEnZb"><div class="gmail-h5">----- Original Message -----<br>
> From: "Hans Wennborg via cfe-commits" <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>><br>
> To: "Nemanja Ivanovic" <<a href="mailto:nemanja.i.ibm@gmail.com">nemanja.i.ibm@gmail.com</a>>, "Nico Weber" <<a href="mailto:thakis@chromium.org">thakis@chromium.org</a>><br>
> Cc: "cfe-commits" <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>><br>
> Sent: Thursday, April 14, 2016 8:07:58 PM<br>
> Subject: Re: r266186 - Enable support for __float128 in Clang<br>
><br>
> On Wed, Apr 13, 2016 at 2:49 AM, Nemanja Ivanovic via cfe-commits<br>
> <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br>
> > Author: nemanjai<br>
> > Date: Wed Apr 13 04:49:45 2016<br>
> > New Revision: 266186<br>
> ><br>
> > URL: <a href="http://llvm.org/viewvc/llvm-project?rev=266186&view=rev" rel="noreferrer">http://llvm.org/viewvc/llvm-project?rev=266186&view=rev</a><br>
> > Log:<br>
> > Enable support for __float128 in Clang<br>
> ><br>
> > This patch corresponds to review:<br>
> > <a href="http://reviews.llvm.org/D15120" rel="noreferrer">http://reviews.llvm.org/D15120</a><br>
> ><br>
> > It adds support for the __float128 keyword, literals and a target<br>
> > feature to<br>
> > enable it. This support is disabled by default on all targets and<br>
> > any target<br>
> > that has support for this type is free to add it.<br>
> ><br>
> > Based on feedback that I've received from target maintainers, this<br>
> > appears to<br>
> > be the right thing for most targets. I have not heard from the<br>
> > maintainers of<br>
> > X86 which I believe supports this type. I will subsequently<br>
> > investigate the<br>
> > impact of enabling this on X86.<br>
><br>
> We're seeing build errors when targeting Android, which I think may<br>
> be<br>
> caused by this:<br>
><br>
> [...]<br>
> In file included from ../../v8/src/base/functional.cc:11:<br>
> In file included from ../../v8/src/base/functional.h:13:<br>
> In file included from<br>
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/functional:55:<br>
> In file included from<br>
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/tuple:38:<br>
> In file included from<br>
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/utility:70:<br>
> In file included from<br>
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_pair.h:59:<br>
> In file included from<br>
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/move.h:57:<br>
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/type_traits:269:39:<br>
> error: __float128 is not supported on this target<br>
>     struct __is_floating_point_helper<__float128><br>
>                                       ^<br>
><br>
> (From<br>
> <a href="https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/54128/steps/compile%20%28with%20patch%29/logs/stdio" rel="noreferrer">https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/54128/steps/compile%20%28with%20patch%29/logs/stdio</a>)<br>
><br>
> Any idea what might be breaking here?<br>
<br>
</div></div>Yep, see: <a href="http://reviews.llvm.org/D19125" rel="noreferrer">http://reviews.llvm.org/D19125</a></blockquote><div><br></div><div>Since this is breaking real-world code, is it possible to revert this until <a href="http://reviews.llvm.org/D19125">http://reviews.llvm.org/D19125</a> is ready?</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"><br>
<br>
 -Hal<br>
<br>
><br>
> Thanks,<br>
> Hans<br>
<div class="gmail-HOEnZb"><div class="gmail-h5">> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
><br>
<br>
</div></div><span class="gmail-HOEnZb"><font color="#888888">--<br>
Hal Finkel<br>
Assistant Computational Scientist<br>
Leadership Computing Facility<br>
Argonne National Laboratory<br>
</font></span></blockquote></div><br></div></div>