diff options
author | Catalin Patulea <catalinp@google.com> | 2012-10-22 19:18:35 -0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-10-27 14:37:25 +0000 |
commit | 49cdaea18b6a827fbe9555efef12821909e59229 (patch) | |
tree | 6b3ac37bf1b21886ca6a16c5c87e1228c423b13f /tests/tcg/test-i386.c | |
parent | 0356404b0f1da939657cad1efeb556745cd430d5 (diff) |
tests/tcg: fix a few warnings
Signed-off-by: Catalin Patulea <catalinp@google.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tests/tcg/test-i386.c')
-rw-r--r-- | tests/tcg/test-i386.c | 2 |
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)); } |