From owner-svn-src-head@FreeBSD.ORG Tue Sep 9 02:58:59 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78E8562A; Tue, 9 Sep 2014 02:58:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64CA51CE9; Tue, 9 Sep 2014 02:58:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s892wxdq070308; Tue, 9 Sep 2014 02:58:59 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s892wxoB070306; Tue, 9 Sep 2014 02:58:59 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201409090258.s892wxoB070306@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Tue, 9 Sep 2014 02:58:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271296 - head/tools/regression/lib/msun X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2014 02:58:59 -0000 Author: ngie Date: Tue Sep 9 02:58:58 2014 New Revision: 271296 URL: http://svnweb.freebsd.org/changeset/base/271296 Log: Be ANSI-C compliant when defining CX_LIMITED_RANGE #pragma This mutes warnings with clang Approved by: rpaulo (mentor) Reviewed by: das, kargl (both as part of a larger patch) Phabric: D742 Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regression/lib/msun/test-conj.c head/tools/regression/lib/msun/test-csqrt.c Modified: head/tools/regression/lib/msun/test-conj.c ============================================================================== --- head/tools/regression/lib/msun/test-conj.c Tue Sep 9 02:53:55 2014 (r271295) +++ head/tools/regression/lib/msun/test-conj.c Tue Sep 9 02:58:58 2014 (r271296) @@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$"); #include "test-utils.h" -#pragma STDC CX_LIMITED_RANGE off +#pragma STDC CX_LIMITED_RANGE OFF /* Make sure gcc doesn't use builtin versions of these or honor __pure2. */ static float complex (*libconjf)(float complex) = conjf; Modified: head/tools/regression/lib/msun/test-csqrt.c ============================================================================== --- head/tools/regression/lib/msun/test-csqrt.c Tue Sep 9 02:53:55 2014 (r271295) +++ head/tools/regression/lib/msun/test-csqrt.c Tue Sep 9 02:58:58 2014 (r271296) @@ -62,7 +62,7 @@ _csqrt(long double complex d) return (csqrt((double complex)d)); } -#pragma STDC CX_LIMITED_RANGE off +#pragma STDC CX_LIMITED_RANGE OFF /* * Compare d1 and d2 using special rules: NaN == NaN and +0 != -0.