From 65faab72b347278966db612efd77f89b8a25e668 Mon Sep 17 00:00:00 2001 From: David Schultz Date: Fri, 8 Aug 2008 00:15:16 +0000 Subject: [PATCH] In the line #pragma STDC CX_LIMITED_RANGE ON the "ON" needs to be in caps. gcc doesn't understand this pragma anyway and assumes it is always on in any case, but icc supports it and cares about the case. --- lib/msun/src/s_csqrt.c | 2 +- lib/msun/src/s_csqrtf.c | 2 +- lib/msun/src/s_csqrtl.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/msun/src/s_csqrt.c b/lib/msun/src/s_csqrt.c index ae38c6c44d6..18a7ae3e714 100644 --- a/lib/msun/src/s_csqrt.c +++ b/lib/msun/src/s_csqrt.c @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); * gcc generates is acceptable, since the special cases have already been * handled. */ -#pragma STDC CX_LIMITED_RANGE on +#pragma STDC CX_LIMITED_RANGE ON /* We risk spurious overflow for components >= DBL_MAX / (1 + sqrt(2)). */ #define THRESH 0x1.a827999fcef32p+1022 diff --git a/lib/msun/src/s_csqrtf.c b/lib/msun/src/s_csqrtf.c index 6c70ac12a13..da7fe184709 100644 --- a/lib/msun/src/s_csqrtf.c +++ b/lib/msun/src/s_csqrtf.c @@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$"); * gcc generates is acceptable, since the special cases have already been * handled. */ -#pragma STDC CX_LIMITED_RANGE on +#pragma STDC CX_LIMITED_RANGE ON float complex csqrtf(float complex z) diff --git a/lib/msun/src/s_csqrtl.c b/lib/msun/src/s_csqrtl.c index 5a5087f374e..dd18e1ef38e 100644 --- a/lib/msun/src/s_csqrtl.c +++ b/lib/msun/src/s_csqrtl.c @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); * gcc generates is acceptable, since the special cases have already been * handled. */ -#pragma STDC CX_LIMITED_RANGE on +#pragma STDC CX_LIMITED_RANGE ON /* We risk spurious overflow for components >= LDBL_MAX / (1 + sqrt(2)). */ #define THRESH (LDBL_MAX / 2.414213562373095048801688724209698L)