summaryrefslogtreecommitdiff
path: root/libgfortran/config
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-13 12:54:30 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-13 12:54:30 +0000
commitd64e2c5bf65efe9d182b013ab5e52af0191d4993 (patch)
tree5fba6022203829ca6cf1e3d889e125b5d63ccdce /libgfortran/config
parentc026dfb5a1af06027895fb61c407e23a580ad115 (diff)
downloadgcc-d64e2c5bf65efe9d182b013ab5e52af0191d4993.tar.gz
* config/fpu-387.h (set_fpu): Add "=m" for stmxcsr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105369 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/config')
-rw-r--r--libgfortran/config/fpu-387.h2
1 files changed, 1 insertions, 1 deletions
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;