This project is mirrored from 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. 18 Aug, 2016 1 commit
  2. 20 Jul, 2016 2 commits
    • Dylan Meysmans's avatar
      Data.Either: Add fromLeft and fromRight (#12402) · a0f83a62
      Dylan Meysmans authored
      Reviewers: austin, hvr, RyanGlScott, bgamari
      Reviewed By: RyanGlScott, bgamari
      Subscribers: RyanGlScott, thomie
      Differential Revision:
      GHC Trac Issues: #12402
    • Ömer Sinan Ağacan's avatar
      Support SCC pragmas in declaration context · 98b2c508
      Ömer Sinan Ağacan authored
      Not having SCCs at the top level is becoming annoying real quick. For
      simplest cases, it's possible to do this transformation:
          f x y = ...
          f = {-# SCC f #-} \x y -> ...
      However, it doesn't work when there's a `where` clause:
          f x y = <t is in scope>
            where t = ...
          f = {-# SCC f #-} \x y -> <t is out of scope>
            where t = ...
      Or when we have a "equation style" definition:
          f (C1 ...) = ...
          f (C2 ...) = ...
          f (C3 ...) = ...
      (usual solution is to rename `f` to `f'` and define a new `f` with a
      This patch implements support for SCC annotations in declaration
      contexts. This is now a valid program:
          f x y = ...
              g z = ...
              {-# SCC g #-}
          {-# SCC f #-}
      Test Plan: This passes slow validate (no new failures added).
      Reviewers: goldfire, mpickering, austin, bgamari, simonmar
      Reviewed By: bgamari, simonmar
      Subscribers: simonmar, thomie, mpickering
      Differential Revision:
  3. 19 Jul, 2016 1 commit
  4. 16 Jul, 2016 1 commit
  5. 06 Jul, 2016 1 commit
  6. 04 Jul, 2016 1 commit
  7. 01 Jul, 2016 1 commit
  8. 04 Jun, 2016 1 commit
  9. 24 May, 2016 1 commit
    • seraphime's avatar
      Fix: #12084 deprecate old profiling flags · 1956cbf1
      seraphime authored
      Change help message so it doesn't specify -auto-all.
      Make old profiling flags deprecated as they are no longer
      Update Makefile and documentation accordingly.
      Update release notes for ghc 8.2
      Test Plan:
      ./verify; `ghc --help` shouldn't specify the -auto-all
      flag. Furthermore `ghc -fprof -auto-all` should emit a warning
      Reviewed By: thomie, austin
      Differential Revision:
      GHC Trac Issues: #12084
      Update submodule nofib
  10. 23 May, 2016 1 commit
    • Ben Gamari's avatar
      Revert "compiler/iface: compress .hi files" · 9bb27726
      Ben Gamari authored
      This appears to cause validation issues on,
          TEST="T11108 T9071 T11076 T7600 T7672 T8329 T10420 T10322 T8308 T4114a
          T4114c T10602 T10110 T9204 T2435 T9838 T4114d T10233 T8696 T1735 T5281
          T6056 T10134 T9580 T6018 T9762 T8103"
      With compiler panics of the form,
          Compile failed (status 256) errors were:
          ghc: panic! (the 'impossible' happened)
            (GHC version 8.1.20160523 for x86_64-unknown-linux):
                  Binary.readBinMem: decompression failed
          CallStack (from HasCallStack):
            error, called at compiler/utils/Binary.hs:192:16 in ghc:Binary
          Please report this as a GHC bug:
      This reverts commit d9cb7a8a.
  11. 21 May, 2016 1 commit
    • Austin Seipp's avatar
      compiler/iface: compress .hi files · d9cb7a8a
      Austin Seipp authored
      Compress all interface files generated by the compiler with LZ4. While
      being only a tiny amount of code, LZ4 is both fast at compression and
      decompression, and has good compression ratios.
      Non-scientific size test: size of stage2 compiler .hi files:
      `find ./compiler/stage2 -type f -iname '*.hi' -exec du -ch {} + | grep total$`
      Without this patch: 22MB of .hi files for stage2.
      With this patch: 9.2MB of .hi files for stage2.
      Signed-off-by: default avatarAustin Seipp <>
      Reviewed By: bgamari
      Differential Revision:
  12. 18 May, 2016 1 commit
    • Ben Gamari's avatar
      rts: Add isPinnedByteArray# primop · 310371ff
      Ben Gamari authored
      Adds a primitive operation to determine whether a particular
      `MutableByteArray#` is backed by a pinned buffer.
      Test Plan: Validate with included testcase
      Reviewers: austin, simonmar
      Reviewed By: austin, simonmar
      Subscribers: thomie
      Differential Revision:
      GHC Trac Issues: #12059
  13. 12 May, 2016 1 commit