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. 09 Jun, 2022 4 commits
    • Andreas Klebinger's avatar
      Document dataToTag# primop · 8727be73
      Andreas Klebinger authored and  Marge Bot's avatar Marge Bot committed
      8727be73
    • Matthew Pickering's avatar
      Add test for T21682 · 1fbba97b
      Matthew Pickering authored and  Marge Bot's avatar Marge Bot committed
      Fixes #21682
      1fbba97b
    • sheaf's avatar
      Typecheck remaining ValArgs in rebuildHsApps · 28880828
      sheaf authored and  Marge Bot's avatar Marge Bot committed
      This patch refactors hasFixedRuntimeRep_remainingValArgs, renaming it
      to tcRemainingValArgs. The logic is moved to rebuildHsApps, which
      ensures consistent behaviour across tcApp and quickLookArg1/tcEValArg.
      
      This patch also refactors the treatment of stupid theta for data
      constructors, changing the place we drop stupid theta arguments
      from dsConLike to mkDataConRep (now the datacon wrapper drops these
      arguments).
      
      We decided not to implement PHASE 2 of the FixedRuntimeRep plan for
      these remaining ValArgs. Future directions are outlined on the wiki:
        https://gitlab.haskell.org/ghc/ghc/-/wikis/Remaining-ValArgs
      
      Fixes #21544 and #21650
      28880828
    • Andreas Klebinger's avatar
      Fix a CSE shadowing bug. · 56ebf9a5
      Andreas Klebinger authored and  Marge Bot's avatar Marge Bot committed
      We used to process the rhs of non-recursive bindings and their body
      using the same env. If we had something like
          let x = ... x ...
      this caused trouble because the two xs refer to different binders
      but we would substitute both for a new binder x2 causing out of scope
      errors.
      
      We now simply use two different envs for the rhs and body in cse_bind.
      It's all explained in the Note [Separate envs for let rhs and body]
      
      Fixes #21685
      56ebf9a5
  2. 07 Jun, 2022 2 commits
  3. 06 Jun, 2022 3 commits
  4. 02 Jun, 2022 10 commits
  5. 01 Jun, 2022 11 commits
  6. 31 May, 2022 4 commits
    • John Ericson's avatar
      Purge `DynFlags` and `HscEnv` from some `GHC.Core` modules where it's not too hard · d4c71f09
      John Ericson authored
      Progress towards #17957
      
      Because of `CoreM`, I did not move the `DynFlags` and `HscEnv` to other
      modules as thoroughly as I usually do. This does mean that risk of
      `DynFlags` "creeping back in" is higher than it usually is.
      
      After we do the same process to the other Core passes, and then figure
      out what we want to do about `CoreM`, we can finish the job started
      here.
      
      That is a good deal more work, however, so it certainly makes sense to
      land this now.
      d4c71f09
    • Matthew Pickering's avatar
      Revert "packaging: Build perf builds with -split-sections" · 15d42a7a
      Matthew Pickering authored and  Marge Bot's avatar Marge Bot committed
      This reverts commit 699f5935.
      
      Split sections causes segfaults in profiling way with old toolchains
      (deb9) and on windows (#21670)
      
      Fixes #21670
      15d42a7a
    • Matthew Pickering's avatar
      Build stage1 with -V as well · 0dafd3e7
      Matthew Pickering authored and  Marge Bot's avatar Marge Bot committed
      This helps tracing errors which happen when building stage1
      0dafd3e7
    • Matthew Pickering's avatar
      hadrian: Introduce new package database for executables needed to build stage0 · 5c4421b1
      Matthew Pickering authored and  Marge Bot's avatar Marge Bot committed
      These executables (such as hsc2hs) are built using the boot compiler and
      crucially, most libraries from the global package database.
      
      We also move other build-time executables to be built in this stage such
      as linters which also cleans up which libraries end up in the global
      package database. This allows us to remove hacks where linters-common is
      removed from the package database when a bindist is created.
      
      This fixes issues caused by infinite recursion due to bytestring adding
      a dependency on template-haskell.
      
      Fixes #21634
      5c4421b1
  7. 30 May, 2022 6 commits