OSDN Git Service

* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
[pf3gnuchains/gcc-fork.git] / libgcc / config / i386 / 32 / sfp-machine.h
index 256bdeb..a872546 100644 (file)
@@ -146,7 +146,7 @@ struct fenv
   do {                                                                 \
     if (_fex & FP_EX_INVALID)                                          \
       {                                                                        \
   do {                                                                 \
     if (_fex & FP_EX_INVALID)                                          \
       {                                                                        \
-       float f;                                                        \
+       float f = 0.0;                                                  \
        __asm__ __volatile__ ("fdiv %0" : "+t" (f));                    \
        __asm__ __volatile__ ("fwait");                                 \
       }                                                                        \
        __asm__ __volatile__ ("fdiv %0" : "+t" (f));                    \
        __asm__ __volatile__ ("fwait");                                 \
       }                                                                        \