c41d59
Apply a fix similar to upstream commit 5d1ccdda7b0c625751661d50977f3dfbc73f8eae
c41d59
to the installed header file.  Upstream, the header file has been removed
c41d59
in its uncorrected state, so there is no upstream fix to backport.
c41d59
c41d59
Suggested by Jakub Jelinek.
c41d59
c41d59
diff --git a/sysdeps/x86/fpu/bits/fenv.h b/sysdeps/x86/fpu/bits/fenv.h
c41d59
index 4103982d8c8ae014..4ae2d2a04c6754bd 100644
c41d59
--- a/sysdeps/x86/fpu/bits/fenv.h
c41d59
+++ b/sysdeps/x86/fpu/bits/fenv.h
c41d59
@@ -132,7 +132,7 @@ __NTH (__feraiseexcept_invalid_divbyzero (int __excepts))
c41d59
       float __f = 0.0;
c41d59
 
c41d59
 # ifdef __SSE_MATH__
c41d59
-      __asm__ __volatile__ ("divss %0, %0 " : : "x" (__f));
c41d59
+      __asm__ __volatile__ ("divss %0, %0 " : "+x" (__f));
c41d59
 # else
c41d59
       __asm__ __volatile__ ("fdiv %%st, %%st(0); fwait"
c41d59
 			    : "=t" (__f) : "0" (__f));
c41d59
@@ -145,7 +145,7 @@ __NTH (__feraiseexcept_invalid_divbyzero (int __excepts))
c41d59
       float __g = 0.0;
c41d59
 
c41d59
 # ifdef __SSE_MATH__
c41d59
-      __asm__ __volatile__ ("divss %1, %0" : : "x" (__f), "x" (__g));
c41d59
+      __asm__ __volatile__ ("divss %1, %0" : "+x" (__f) : "x" (__g));
c41d59
 # else
c41d59
       __asm__ __volatile__ ("fdivp %%st, %%st(1); fwait"
c41d59
 			    : "=t" (__f) : "0" (__f), "u" (__g) : "st(1)");