Date: Tue, 9 Sep 2014 02:58:59 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271296 - head/tools/regression/lib/msun Message-ID: <201409090258.s892wxoB070306@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409090258.s892wxoB070306>