integer-gmp: mpn_gcd_1 allocate one Word on stack instead of 'sizeof (__mpz_struct)'
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 13 Mar 2013 20:41:21 +0000 (23:41 +0300)
committerIan Lynagh <ian@well-typed.com>
Sun, 17 Mar 2013 20:54:17 +0000 (20:54 +0000)
commit0e1b9bd44903493a9716e0f8e6c6a801884a7fea
tree36a3a053d86992bed28c8fd6c1623ef7063e9abf
parent8ff29424bb3b9488fcf25544325e5430a0d55d16
integer-gmp: mpn_gcd_1 allocate one Word on stack instead of 'sizeof (__mpz_struct)'

gmp.h defines 'mpn_gcd_1' as following:
    mp_limb_t mpn_gcd_1 (mp_srcptr /* aka 'mp_limb_t *'  */, mp_size_t, mp_limb_t);

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
libraries/integer-gmp/cbits/gmp-wrappers.cmm