[Git][ghc/ghc][master] testsuite: use tgamma for cg007
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Tue Jan 31 12:55:59 UTC 2023
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
7716cbe6 by Cheng Shao at 2023-01-31T07:55:41-05:00
testsuite: use tgamma for cg007
gamma is a glibc-only deprecated function, use tgamma instead. It's
required for fixing cg007 when testing the wasm unregisterised
codegen.
- - - - -
1 changed file:
- testsuite/tests/codeGen/should_compile/cg007.hs
Changes:
=====================================
testsuite/tests/codeGen/should_compile/cg007.hs
=====================================
@@ -21,6 +21,5 @@ In file included from /rts/include/Stg.h:207,
error: for each function it appears in.)
-}
-foreign import ccall unsafe "math.h gamma"
- gamma :: CDouble -> CDouble
-
+foreign import ccall unsafe "math.h tgamma"
+ tgamma :: CDouble -> CDouble
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7716cbe64862932fd69348b2594a14f2092e1c02
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7716cbe64862932fd69348b2594a14f2092e1c02
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230131/3b56ebfc/attachment.html>
More information about the ghc-commits
mailing list