svn commit: r271296 - head/tools/regression/lib/msun
Garrett Cooper
ngie at FreeBSD.org
Tue Sep 9 02:58:59 UTC 2014
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.
More information about the svn-src-all
mailing list