lp://staging/~ghc/ghc/packages-ghc-prim-master
- Get this branch:
- bzr branch lp://staging/~ghc/ghc/packages-ghc-prim-master
Branch merges
Import details
This branch is an import of the HEAD branch of the Git repository at git://git.haskell.org/packages/ghc-prim.git.
Last successful import was .
Recent revisions
- 104. By Reid Barton <email address hidden>
-
Make argument types in popcnt.c match declared primop types
On 64-bit Mac OS, gcc 4.2 (which comes with Xcode 4.6) generates code
that assumes that an argument that is smaller than the register
it is passed in has been sign- or zero-extended. But ghc thinks
the types of the PopCnt*Op primops are Word# -> Word#, so it passes
the entire argument word to the hs_popcnt* function as though it was
declared to have an argument of type StgWord. Segfaults ensue.The easiest fix is to sidestep all this zero-extension business
by declaring the hs_popcnt* functions to take a whole StgWord (when their
argument would fit in a register), thereby matching the list of primops.Fixes #7684.
- 99. By Joachim Breitner
-
Update Coercible docs due to Safe Haskell adjustment
This should go with [59722295bb8da8
f01d37356fbed6a ef7321a8195/ ghc], see
bug #8826. - 98. By Herbert V. Riedel
-
Add Since-annotation to `Coercible`
Signed-off-by: Herbert Valerio Riedel <email address hidden>
- 97. By Joachim Breitner
-
Document Coercible in GHC.Types
It is not exported from here, but haddock still uses this documentation
(and not the one from the fake GHC/Prim.hs file). So just put the user
documentation here. - 95. By Herbert V. Riedel
-
Add overlooked language extensions to `IntWord64.hs`
This was overseen in b07b88e5d5c3ccd
1508b235688f751 408636c49e
as the extensions are only needed when compiling for 32-bit archs.Signed-off-by: Herbert Valerio Riedel <email address hidden>
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)