|
From: <sv...@va...> - 2017-05-11 03:07:56
|
Author: bart
Date: Thu May 11 04:07:49 2017
New Revision: 16361
Log:
none/tests/amd64/bug132918.c: Mark f64 as an output parameter
This change avoids that gcc 7 complains that f64 is used uninitialized
in this source file.
Modified:
trunk/none/tests/amd64/bug132918.c
Modified: trunk/none/tests/amd64/bug132918.c
==============================================================================
--- trunk/none/tests/amd64/bug132918.c (original)
+++ trunk/none/tests/amd64/bug132918.c Thu May 11 04:07:49 2017
@@ -24,8 +24,8 @@
"fnstsw %%ax\n\t"
"movq %%rax,%0\n\t"
"movq %%r15,%%rax"
- : /*out*/ "=r" (c3210)
- : /*in*/ "m" (f64), "m" (xx), "m" (yy)
+ : /*out*/ "=r" (c3210), "=m" (f64)
+ : /*in*/ "m" (xx), "m" (yy)
: /*trash*/ "r15", "rax", "%st", "%st(1)", "cc"
);
res->d = f64;
|