This project is mirrored from https://gitlab.haskell.org/ghc/ghc.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 15 Sep, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Export `Traversable()` and `Foldable()` from Prelude · c0fa383d
      Herbert Valerio Riedel authored
      This exposes *only* the type-classes w/o any of their methods.
      This is the very first step for implementing BPP (see #9586), which
      already requires breaking up several import-cycles leading back to `Prelude`.
      
      Ideally, importing `Prelude` should be avoided in most `base` modules,
      as `Prelude` does not define any entities, but rather re-exports
      existing ones.
      
      Test Plan: validate passes
      
      Reviewers: ekmett, austin
      
      Reviewed By: ekmett, austin
      
      Subscribers: simonmar, ezyang, carter
      
      Differential Revision: https://phabricator.haskell.org/D209
      
      GHC Trac Issues: #9586
      c0fa383d
  2. 14 Sep, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Tweak perf-numbers for T1969 and T4801 · 004c5f4f
      Herbert Valerio Riedel authored
      Right now, Phab's buildbot complains about
      
        Unexpected failures:
          perf/compiler T1969 [stat too good] (normal)
          perf/compiler T4801 [stat not good enough] (normal)
      
      However, on my workstation, those tests don't fail (c.f. P14).
      So this commit tries to blindly tweak those numbers and see if
      if Phabricator succeeds to build this code-revision...
      
      Test Plan: Let Harbormaster build it
      
      Reviewers: austin
      
      Subscribers: simonmar, ezyang, carter
      
      Differential Revision: https://phabricator.haskell.org/D210
      004c5f4f
  3. 13 Sep, 2014 8 commits
  4. 12 Sep, 2014 2 commits
  5. 11 Sep, 2014 1 commit
  6. 10 Sep, 2014 8 commits
  7. 09 Sep, 2014 7 commits
  8. 08 Sep, 2014 2 commits
  9. 06 Sep, 2014 5 commits
  10. 05 Sep, 2014 2 commits
    • Joachim Breitner's avatar
      Revert "Do not test max_bytes_used et. al for haddock tests" · 55e4e5ad
      Joachim Breitner authored
      This reverts commit 498d7dd2. Again
      sorry for the noise. This is the last reverstion. I will fix this for
      good at around 12:13 CEST tomorrow :-)
      55e4e5ad
    • Sergei Trofimovich's avatar
      pprC: declare extern cmm primitives as functions, not data · e18525fa
      Sergei Trofimovich authored
      
      
      Summary:
        The commit fixes incorrect code generation of
        integer-gmp package on ia64 due to C prototypes mismatch.
        Before the patch prototypes for "foreign import prim" were:
            StgWord poizh[];
        After the patch they became:
            StgFunPtr poizh();
      
      Long story:
      
      Consider the following simple example:
      
          {-# LANGUAGE MagicHash, GHCForeignImportPrim, UnliftedFFITypes #-}
          module M where
          import GHC.Prim -- Int#
          foreign import prim "poizh" poi# :: Int# -> Int#
      
      Before the patch unregisterised build generated the
      following 'poizh' reference:
          EI_(poizh); /* StgWord poizh[]; */
          FN_(M_poizh_entry) {
          // ...
          JMP_((W_)&poizh);
          }
      
      After the patch it looks this way:
          EF_(poizh); /* StgFunPtr poizh(); */
          FN_(M_poizh_entry) {
          // ...
          JMP_((W_)&poizh);
          }
      
      On ia64 it leads to different relocation types being generated:
        incorrect one:
          addl r14 = @ltoffx(poizh#)
          ld8.mov r14 = [r14], poizh# ; r14 = address-of 'poizh#'
        correct one:
          addl r14 = @ltoff(@fptr(poizh#)), gp ; r14 = address-of-thunk 'poizh#'
          ld8 r14 = [r14]
      
      '@fptr(poizh#)' basically instructs assembler to creates
      another obect consisting of real address to 'poizh' instructions
      and module address. That '@fptr' object is used as a function "address"
      This object is different for every module referencing 'poizh' symbol.
      
      All indirect function calls expect '@fptr' object. That way
      call site reads real destination address and set destination
      module address in 'gp' register from '@fptr'.
      Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
      e18525fa
  11. 04 Sep, 2014 3 commits