diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 9433fda08b9..8afd8717af6 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2005-20-13 Uros Bizjak + + * config/fpu-387.h (set_fpu): Add "=m" for stmxcsr. + 2005-10-12 Francois-Xavier Coudert * Makefile.am: Add fpu.c to the build process, and diff --git a/libgfortran/config/fpu-387.h b/libgfortran/config/fpu-387.h index 06c02eaf853..e7f35182e0c 100644 --- a/libgfortran/config/fpu-387.h +++ b/libgfortran/config/fpu-387.h @@ -90,7 +90,7 @@ void set_fpu (void) if (has_sse()) { /* SSE */ - asm volatile ("stmxcsr %0" : : "m" (cw_sse)); + asm volatile ("stmxcsr %0" : : "=m" (cw_sse)); cw_sse &= 0xFFFF0000; if (options.fpe & GFC_FPE_INVALID) cw_sse |= 1 << 7; if (options.fpe & GFC_FPE_DENORMAL) cw_sse |= 1 << 8;