From 04167990a6b1bf5cbe7132f4a9d1f46172feca9a Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Wed, 28 May 2003 10:17:43 +0000 Subject: [PATCH] workaround a compiler bug on SPARC (Milan) --- BasiliskII/src/uae_cpu/fpu/fpu_ieee.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasiliskII/src/uae_cpu/fpu/fpu_ieee.cpp b/BasiliskII/src/uae_cpu/fpu/fpu_ieee.cpp index a27291d0..2964c987 100644 --- a/BasiliskII/src/uae_cpu/fpu/fpu_ieee.cpp +++ b/BasiliskII/src/uae_cpu/fpu/fpu_ieee.cpp @@ -180,7 +180,7 @@ PRIVATE inline fpu_register FFPU make_single(uae_u32 value) #if 1 // Use a single, otherwise some checks for NaN, Inf, Zero would have to // be performed - fpu_single result; + fpu_single result = 0; // = 0 to workaround a compiler bug on SPARC fp_declare_init_shape(srp, result, single); srp->ieee.negative = (value >> 31) & 1; srp->ieee.exponent = (value >> 23) & FP_SINGLE_EXP_MAX;