[commit: ghc] master: Remove `inline` from integer_gmp_mpn_import1() (e74a9e9)

git at git.haskell.org git at git.haskell.org
Mon Dec 8 08:31:04 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e74a9e994160f812fb6aba57feff691bd0676bbe/ghc

>---------------------------------------------------------------

commit e74a9e994160f812fb6aba57feff691bd0676bbe
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Mon Dec 8 09:31:19 2014 +0100

    Remove `inline` from integer_gmp_mpn_import1()
    
    This would cause problems w/ BuildFlavour=quickest


>---------------------------------------------------------------

e74a9e994160f812fb6aba57feff691bd0676bbe
 libraries/integer-gmp2/cbits/wrappers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/integer-gmp2/cbits/wrappers.c b/libraries/integer-gmp2/cbits/wrappers.c
index 0557ff7..cf28e29 100644
--- a/libraries/integer-gmp2/cbits/wrappers.c
+++ b/libraries/integer-gmp2/cbits/wrappers.c
@@ -417,7 +417,7 @@ integer_gmp_mpn_export1(const mp_limb_t s,
  *
  * We can't use GMP's 'mpz_import()'
  */
-inline HsWord
+HsWord
 integer_gmp_mpn_import1(const uint8_t *srcptr, const HsWord srcofs,
                         const HsWord srclen, const HsInt msbf)
 {



More information about the ghc-commits mailing list