From 85bba25fe3bc5148e16eda74c253ecbcfc871984 Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Sun, 23 Dec 2012 13:42:47 -0600 Subject: Proper IEEE overflow semantics for VMS. Way back in 67597c89125e7e14 we misspelled _IEEE_FP as __IEEE_FP, with a spurious leading underscore. Which I then copied and pasted into pp_pack.c in baf3cf9c09c529. This means that on Alpha and Itanium systems with the default selection of IEEE floating point, we've actually (for the last decade!) been using a workaround intended for VAX or Alpha and Itanium builds that have explicitly selected VAX-compatible floating point formats. Oh well. --- pp_pack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pp_pack.c') diff --git a/pp_pack.c b/pp_pack.c index 321a47dbf7..50d4a63892 100644 --- a/pp_pack.c +++ b/pp_pack.c @@ -3115,7 +3115,7 @@ extern const float _float_constants[]; else afloat = (float) anv; } #else /* __VOS__ */ -# if defined(VMS) && !defined(__IEEE_FP) +# if defined(VMS) && !defined(_IEEE_FP) /* IEEE fp overflow shenanigans are unavailable on VAX and optional * on Alpha; fake it if we don't have them. */ @@ -3154,7 +3154,7 @@ extern const double _double_constants[]; else adouble = (double) anv; } #else /* __VOS__ */ -# if defined(VMS) && !defined(__IEEE_FP) +# if defined(VMS) && !defined(_IEEE_FP) /* IEEE fp overflow shenanigans are unavailable on VAX and optional * on Alpha; fake it if we don't have them. */ -- cgit v1.2.1