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. 24 Jul, 2017 10 commits
  2. 23 Jul, 2017 12 commits
  3. 22 Jul, 2017 3 commits
  4. 21 Jul, 2017 1 commit
    • Ben Gamari's avatar
      build system: Ensure there are no duplicate files in bindist list · fefcbfa8
      Ben Gamari authored
      Several executables inexplicably appear twice in bindist.list, which
      ends up producing multiple tar file entries, consequently breaking BSD
      tar during extraction. I spent a fair amount of time trying to work out
      where these duplicates were coming from to no avail. Since Hadrian is
      right around the corner I'm satisfied with a terrible hack: just uniq
      bindist.list before producing the bindist tarball.
      
      Test Plan: Validate
      
      Reviewers: austin
      
      Subscribers: rwbarton, thomie
      
      GHC Trac Issues: #13979, #13974
      
      Differential Revision: https://phabricator.haskell.org/D3767
      fefcbfa8
  5. 20 Jul, 2017 14 commits
    • Ben Gamari's avatar
      HsPat: Assume that no spliced patterns are irrefutable · 36e8bcba
      Ben Gamari authored
      This is a conservative assumption which will limit some uses of spliced
      patterns, but it fixes #13984.
      
      Test Plan: Validate
      
      Reviewers: RyanGlScott, AaronFriel, austin
      
      Reviewed By: RyanGlScott
      
      Subscribers: rwbarton, thomie
      
      GHC Trac Issues: #13984
      
      Differential Revision: https://phabricator.haskell.org/D3766
      36e8bcba
    • Ben Gamari's avatar
      Revert "testsuite: Add test for #13916" · ccac387b
      Ben Gamari authored
      This reverts commit b2d3ec37. Didn't
      mean to push this one.
      ccac387b
    • Ben Gamari's avatar
      testsuite: Add test for #13916 · b2d3ec37
      Ben Gamari authored
      b2d3ec37
    • Ben Gamari's avatar
      distrib/configure: Canonicalize triples · 1480080b
      Ben Gamari authored
      Previously we failed to do this, which meant that the bindist's
      configure would fail when passed --target (as you may need to do when
      installing an armv7 bindist on an aarch64 machine, for instance).
      
      Reviewers: hvr, erikd, austin
      
      Reviewed By: hvr
      
      Subscribers: rwbarton, thomie
      
      GHC Trac Issues: #13934
      
      Differential Revision: https://phabricator.haskell.org/D3761
      1480080b
    • Ben Gamari's avatar
      rts: Claim AP_STACK before adjusting Sp · bade356f
      Ben Gamari authored
      In the fix to #13615 we introduced some logic to atomically blackhole
      AP_STACKs closures upon entry. However, this logic was placed *after* a
      stack pointer adjustment. This meant that if someone else beat us to
      blackholing the AP_STACK we would suspend the thread with uninitialized
      content on the stack.  This would then later blow up when threadPaused
      attempted to walk the stack, hence #13970.
      
      Silly bug but still cost lots of head-scratching to find.
      
      Thanks to albertov for the great repro.
      
      Fixes #13970. Bug originally introduced by the fix to #13615.
      
      Reviewers: austin, erikd, simonmar
      
      Reviewed By: erikd, simonmar
      
      Subscribers: rwbarton, thomie
      
      GHC Trac Issues: #13970, #13615
      
      Differential Revision: https://phabricator.haskell.org/D3760
      bade356f
    • Michal Terepeta's avatar
      Interpreter.c: use macros to access/modify Sp · 5469ac86
      Michal Terepeta authored
      
      
      This is another step in fixing #13825 (based on D38 by Simon Marlow).
      
      This commit adds a few macros for accessing and modifying `Sp`
      (interpreter stack) and will be useful to allow sub-word
      indexing/pushing. (but that will be a separate change, this commit
      should introduce no changes in behavior)
      Signed-off-by: Michal Terepeta's avatarMichal Terepeta <michal.terepeta@gmail.com>
      
      Test Plan: ./validate
      
      Reviewers: bgamari, simonmar, austin, erikd
      
      Reviewed By: bgamari, erikd
      
      Subscribers: rwbarton, thomie
      
      GHC Trac Issues: #13825
      
      Differential Revision: https://phabricator.haskell.org/D3744
      5469ac86
    • Edward Z. Yang's avatar
      Make IfaceAxiom typechecking lazier. · fdb6a5bf
      Edward Z. Yang authored
      
      
      Fixes #13803, but adds a note about a yet to be fixed #13981.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      
      Test Plan: validate
      
      Reviewers: bgamari, austin
      
      Reviewed By: bgamari
      
      Subscribers: simonpj, rwbarton, thomie
      
      GHC Trac Issues: #13803
      
      Differential Revision: https://phabricator.haskell.org/D3742
      fdb6a5bf
    • Douglas Wilson's avatar
      Fix busy-wait in SysTools.builderMainLoop · 194384f1
      Douglas Wilson authored
      Test T13701 was failing sporadically. The problem manifested while the
      test was run on a system under load. Profiling showed the increased
      allocations were in SysTools.builderMainLoop.loop, during calls to the
      assembler. This was due to loop effectively busy-waiting from when both
      stdin and stderr handles were closed, until getProcessExitCode
      succeeded.
      
      This is fixed by removing exit code handling from loop. We now wait for
      loop to finish, then read the exit code with waitForProcess.
      
      Some exception safety is added: the readerProc threads will now be
      killed and the handles will be closed if an exception is thrown.
      
      A TODO saying that threads dying is not accounted for is removed. I
      believe that this case is handled by readerProc sending EOF in a finally
      clause.
      
      Test Plan:
      Replicate test failures using procedure on the ticket, verify that they
      do not occur with this patch.
      
      Reviewers: austin, bgamari
      
      Reviewed By: bgamari
      
      Subscribers: rwbarton, thomie
      
      GHC Trac Issues: #13987
      
      Differential Revision: https://phabricator.haskell.org/D3748
      194384f1
    • Ben Gamari's avatar
      arcconfig: Set project ruleset to use master merge-base by default · a85a5959
      Ben Gamari authored
      Reviewers: austin
      
      Subscribers: rwbarton, thomie
      
      Differential Revision: https://phabricator.haskell.org/D3728
      a85a5959
    • Ben Gamari's avatar
      testsuite: Pipe stdin directly to process · c9c762dc
      Ben Gamari authored
      Previously the driver would read the stdin content from the source file
      and then write it to the subprocess' stdin. We now simply open the stdin
      file and provide that handle to the subprocess as its stdin
      
      Test Plan: Validate
      
      Reviewers: austin
      
      Subscribers: rwbarton, thomie, goldfire
      
      Differential Revision: https://phabricator.haskell.org/D3735
      c9c762dc
    • Ben Gamari's avatar
      Introduce -fcatch-bottoms · 8e51bfc3
      Ben Gamari authored
      This flag instructs the simplifier to emit ``error`` expressions in the
      continutation of empty case analyses (which should bottom and
      consequently not return). This is helpful when debugging demand analysis
      bugs which can sometimes manifest as segmentation faults.
      
      Test Plan: Validate
      
      Reviewers: simonpj, austin
      
      Subscribers: niteria, rwbarton, thomie
      
      Differential Revision: https://phabricator.haskell.org/D3736
      8e51bfc3
    • Ben Gamari's avatar
      Demand: Improve comments · eeb141df
      Ben Gamari authored
      [skip-ci]
      
      Reviewers: austin
      
      Subscribers: rwbarton, thomie
      
      Differential Revision: https://phabricator.haskell.org/D3737
      eeb141df
    • Gabor Greif's avatar
      Spelling fixes · a273c735
      Gabor Greif authored
      a273c735
    • Ben Gamari's avatar
      Typeable: Ensure that promoted data family instance tycons get bindings · cc839c57
      Ben Gamari authored
      This fixes #13915, where the promoted tycons belonging to data family
      instances wouldn't get Typeable bindings, resulting in missing
      declarations.
      
      Test Plan: Validate with included testcases
      
      Reviewers: austin, simonpj
      
      Reviewed By: simonpj
      
      Subscribers: simonpj, RyanGlScott, rwbarton, thomie
      
      GHC Trac Issues: #13915
      
      Differential Revision: https://phabricator.haskell.org/D3759
      cc839c57