aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/test-i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/test-i386.c')
-rw-r--r--tests/tcg/test-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/test-i386.c b/tests/tcg/test-i386.c
index 64d929e482..40392ac51d 100644
--- a/tests/tcg/test-i386.c
+++ b/tests/tcg/test-i386.c
@@ -785,7 +785,7 @@ void fpu_clear_exceptions(void)
long double fpregs[8];
} float_env32;
- asm volatile ("fnstenv %0\n" : : "m" (float_env32));
+ asm volatile ("fnstenv %0\n" : "=m" (float_env32));
float_env32.fpus &= ~0x7f;
asm volatile ("fldenv %0\n" : : "m" (float_env32));
}