#9281: Rewrite `integer-gmp` to use only non-allocating GMP functions -------------------------------------+------------------------------------- Reporter: hvr | Owner: hvr Type: task | Status: closed Priority: normal | Milestone: 7.10.1 Component: Core Libraries | Version: Resolution: fixed | Keywords: integer-gmp Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #8647 #9818 | Differential Rev(s): Phab:D82 -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"0aba999f60babe6878a1fd2cc8410139358cad16/ghc" 0aba999/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="0aba999f60babe6878a1fd2cc8410139358cad16" Restore function powModSecInteger The function existed in integer-gmp-0.5.1.0 but was removed as part of integer-gmp2 rewrite in #9281. This is to bring it back. Test Plan: Case integerGmpInternals, with GMP 4.3.2 and GMP 6.1.2 Reviewers: austin, hvr, goldfire, bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3947 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9281#comment:33> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler