diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2008-07-02 21:16:59 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2008-07-02 21:16:59 +0200 |
commit | 5f464fa2998e38d5a515065c8f1b286d7f933fa9 (patch) | |
tree | ae993bb97bdc0ce5635954851c372a8f17d8faf8 /libgcc | |
parent | 7fcbf8c6f104b905d4ecf2a04f96b50b4c4ce571 (diff) | |
download | gcc-5f464fa2998e38d5a515065c8f1b286d7f933fa9.zip gcc-5f464fa2998e38d5a515065c8f1b286d7f933fa9.tar.gz gcc-5f464fa2998e38d5a515065c8f1b286d7f933fa9.tar.bz2 |
sfp-machine.h (FP_HANDLE_EXCEPTIONS): Initialize f with 0.0.
* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
Initialize f with 0.0.
* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
Initialize f with 0.0.
From-SVN: r137379
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 11 | ||||
-rw-r--r-- | libgcc/config/i386/32/sfp-machine.h | 2 |
2 files changed, 9 insertions, 4 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index fa055e9c..d8bfd54 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2008-07-02 Uros Bizjak <ubizjak@gmail.com> + + * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]: + Initialize f with 0.0. + 2008-07-02 H.J. Lu <hongjiu.lu@intel.com> PR target/36669 @@ -108,8 +113,8 @@ Paolo Bonzini <bonzini@gnu.org> PR target/30572 - * Makefile.in: Use @shlib_slibdir@ substitution to get correct install name - on darwin. + * Makefile.in: Use @shlib_slibdir@ substitution to get + correct install name on darwin. * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name. 2007-12-15 Hans-Peter Nilsson <hp@axis.com> @@ -213,7 +218,7 @@ * config/i386/t-crtpc: New file. * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file. - (x86_64-*-linux*): Ditto. + (x86_64-*-linux*): Ditto. 2007-02-30 Kai Tietz <kai.tietz@onevision.com> diff --git a/libgcc/config/i386/32/sfp-machine.h b/libgcc/config/i386/32/sfp-machine.h index 256bdeb..a872546 100644 --- a/libgcc/config/i386/32/sfp-machine.h +++ b/libgcc/config/i386/32/sfp-machine.h @@ -146,7 +146,7 @@ struct fenv do { \ if (_fex & FP_EX_INVALID) \ { \ - float f; \ + float f = 0.0; \ __asm__ __volatile__ ("fdiv %0" : "+t" (f)); \ __asm__ __volatile__ ("fwait"); \ } \ |