diff options
Diffstat (limited to 'math/libgmp4/files/patch-longlong.h')
-rw-r--r-- | math/libgmp4/files/patch-longlong.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/math/libgmp4/files/patch-longlong.h b/math/libgmp4/files/patch-longlong.h new file mode 100644 index 000000000000..105464b6ae63 --- /dev/null +++ b/math/libgmp4/files/patch-longlong.h @@ -0,0 +1,14 @@ +--- longlong.h.old 2003-07-29 17:10:52.000000000 +1000 ++++ longlong.h 2003-07-29 17:12:16.000000000 +1000 +@@ -715,8 +715,10 @@ + } while (0) + #define count_trailing_zeros(count, x) \ + do { \ ++ UDItype __cbtmp; \ + ASSERT ((x) != 0); \ +- __asm__ ("bsfq %1,%0" : "=r" (count) : "rm" ((UDItype)(x))); \ ++ __asm__ ("bsfq %1,%0" : "=r" (__cbtmp) : "rm" ((UDItype)(x))); \ ++ (count) = __cbtmp; \ + } while (0) + #endif /* x86_64 */ + |