diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-02 19:16:59 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-02 19:16:59 +0000 |
commit | e25ffafe33a280214f30eb3db8114022ab330b32 (patch) | |
tree | ae993bb97bdc0ce5635954851c372a8f17d8faf8 /libgcc | |
parent | 1c859206f532eebcb50770c6276e355e1ea3b946 (diff) | |
download | gcc-e25ffafe33a280214f30eb3db8114022ab330b32.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137379 138bc75d-0d04-0410-961f-82ee72b054a4
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 fa055e9c510..d8bfd54eed3 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 256bdeb4a48..a872546d966 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"); \ } \ |