diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/crtfastmath.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7dcf8c3..a1f4473 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-08-16 H.J. Lu <hongjiu.lu@intel.com> + + * config/i386/crtfastmath.c (set_fast_math): Add "=m" for + fxsave. + 2005-08-16 Ian Lance Taylor <ian@airs.com> * doc/tm.texi (Label Output): Correct typo. diff --git a/gcc/config/i386/crtfastmath.c b/gcc/config/i386/crtfastmath.c index fdff247..e42bca9 100644 --- a/gcc/config/i386/crtfastmath.c +++ b/gcc/config/i386/crtfastmath.c @@ -94,7 +94,7 @@ set_fast_math (void) __builtin_memset (&fxsave, 0, sizeof (fxsave)); - asm volatile ("fxsave %0" : : "m" (fxsave)); + asm volatile ("fxsave %0" : "=m" (fxsave) : "m" (fxsave)); if (fxsave.mxcsr_mask & MXCSR_DAZ) mxcsr |= MXCSR_DAZ; |