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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to