Date: Tue, 13 Mar 2012 13:17:42 +0100 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: svn-src-all@freebsd.org Subject: Re: svn commit: r232894 - head/contrib/llvm/tools/clang/lib/Basic Message-ID: <20120313121742.GC3077@britannica.bec.de> In-Reply-To: <20120313153902.Y1611@besplex.bde.org> References: <201203122107.q2CL7MYo086974@svn.freebsd.org> <20120313153902.Y1611@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 13, 2012 at 04:14:25PM +1100, Bruce Evans wrote: > clang and gcc define __FLT_EVAL_METHOD__, but get it wrong in different > ways, so this definition is unusuable. For example, it is always 0 for > clang; this is correct with SSE, but without SSE, -1 is correct. Thus > __FLT_EVAL_METHOD__ is unusable for defining FLT_EVAL_METHOD. Upstream version sets it correctly, the change went in either shortly before or after 3.0 release. I.e. clang -target i386-freebsd -mno-sse uses __FLT_EVAL_METHOD__ 2, clang -target i386-freebsd -msse uses __FLT_EVAL_METHOD__ 0. Joerg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120313121742.GC3077>