From: Ulrich Drepper Date: Thu, 22 May 1997 16:37:46 +0000 (+0000) Subject: (logb): Remove second value placed on stack by fxtract. X-Git-Tag: cvs/libc-2_0_4~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee96242d5787e1e561cfd1aa08658a0fc251cb5b;p=thirdparty%2Fglibc.git (logb): Remove second value placed on stack by fxtract. --- diff --git a/sysdeps/i386/fpu/__math.h b/sysdeps/i386/fpu/__math.h index 86793babe5d..5d7ba4b8439 100644 --- a/sysdeps/i386/fpu/__math.h +++ b/sysdeps/i386/fpu/__math.h @@ -444,10 +444,10 @@ __MATH_INLINE double logb (double __x); __MATH_INLINE double logb (double __x) { - register double __value; + register double __value, __junk; __asm __volatile__ ("fxtract\n\t" - : "=t" (__value) : "0" (__x)); + : "=t" (__value), "=u" (__junk) : "0" (__x)); return __value; }