From owner-freebsd-toolchain@FreeBSD.ORG Sat Sep 15 13:49:56 2012 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B6B8D106566B; Sat, 15 Sep 2012 13:49:56 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id 508D68FC0C; Sat, 15 Sep 2012 13:49:54 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkkFAJuGVFBbsSJD/2dsb2JhbABFhUC2SoEIgiABAQEEAQJTIgEQCw4KCRYPCQMCAQIBFhEeBg0BBwEBiA0Hun6LIYZoA45pgSCDK4NBjw2CaA Received: from 67.34-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.34.67]) by relay.skynet.be with ESMTP; 15 Sep 2012 15:48:44 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.5/8.14.5) with ESMTP id q8FDmhFI002605; Sat, 15 Sep 2012 15:48:43 +0200 (CEST) (envelope-from tijl@coosemans.org) Message-ID: <50548736.9030203@coosemans.org> Date: Sat, 15 Sep 2012 15:48:38 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:14.0) Gecko/20120804 Thunderbird/14.0 MIME-Version: 1.0 To: Roman Divacky References: <504F4645.4070900@FreeBSD.org> <504F4A6B.4010001@coosemans.org> <504F5101.8090906@FreeBSD.org> <505101C3.70203@freebsd.org> <20120913020833.GA8255@troutmask.apl.washington.edu> <1347550332.1110.108.camel@revolution.hippie.lan> <20120913161024.GA13846@troutmask.apl.washington.edu> <20120914202319.GB5244@lor.one-eyed-alien.net> <20120915001808.GA70215@troutmask.apl.washington.edu> <20120915010600.GA70426@troutmask.apl.washington.edu> <20120915124809.GA10939@freebsd.org> In-Reply-To: <20120915124809.GA10939@freebsd.org> X-Enigmail-Version: 1.4.2 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig7358AAEF3499B2D91F7D4E3F" Cc: Ian Lepore , current@freebsd.org, Dimitry Andric , toolchain@freebsd.org, Steve Kargl Subject: Re: Clang as default compiler November 4th X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2012 13:49:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7358AAEF3499B2D91F7D4E3F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 15-09-2012 14:48, Roman Divacky wrote: > Fwiw, this seems to have been fixed as of a few minutes ago. >=20 > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120910/15= 0720.html >=20 > Steve, can you please test llvm/clang from (their) svn and report > back? We can import a newer snapshot if all is ok. Here's a small test program. You're probably better equipped to test clang svn. -------- #include #include #include int main( int argc, char **argv ) { double d =3D strtod( argv[ 1 ], NULL ); printf( "%e\n", ( double ) cos( d )); printf( "%e\n", ( double ) cosf( d )); printf( "%e\n", ( double ) cosl( d )); return( 0 ); } -------- This is the current output of clang: % clang -o cos cos.c -lm % ./cos 1.23456789e20 6.031937e-01 1.234568e+20 2.814722e-01 The second number (cosf) is wrong. It should be a value between -1 and 1.= --------------enig7358AAEF3499B2D91F7D4E3F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iF4EAREIAAYFAlBUhzsACgkQfoCS2CCgtivziAD+NWYBAPtGISfvBeetsdttpHSn Vx3/+VhU8x4d3Oc+NwYA/2Vr1H6IqZYc0rvSb38RwWw1luuHAv2xxuwSCO433hnN =rTcS -----END PGP SIGNATURE----- --------------enig7358AAEF3499B2D91F7D4E3F--