From owner-svn-src-all@FreeBSD.ORG Tue Mar 13 12:17:49 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CBF21065670 for ; Tue, 13 Mar 2012 12:17:49 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from mo-p00-ob6.rzone.de (mo-p00-ob6.rzone.de [IPv6:2a01:238:20a:202:53f0::1]) by mx1.freebsd.org (Postfix) with ESMTP id B5F298FC14 for ; Tue, 13 Mar 2012 12:17:48 +0000 (UTC) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/afgnrylriWJCMFsOdA== X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (ip-109-42-27-20.web.vodafone.de [109.42.27.20]) by smtp.strato.de (jimi mo15) (RZmta 28.1 DYNA|AUTH) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id U02754o2DBn7jF for ; Tue, 13 Mar 2012 13:17:46 +0100 (MET) Received: by britannica.bec.de (sSMTP sendmail emulation); Tue, 13 Mar 2012 13:17:42 +0100 Date: Tue, 13 Mar 2012 13:17:42 +0100 From: Joerg Sonnenberger To: svn-src-all@freebsd.org Message-ID: <20120313121742.GC3077@britannica.bec.de> References: <201203122107.q2CL7MYo086974@svn.freebsd.org> <20120313153902.Y1611@besplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120313153902.Y1611@besplex.bde.org> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: svn commit: r232894 - head/contrib/llvm/tools/clang/lib/Basic X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 12:17:49 -0000 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