1. 26 Aug, 2016 3 commits
  2. 25 Aug, 2016 5 commits
  3. 23 Aug, 2016 3 commits
    • Ryan Scott's avatar
      Template Haskell support for unboxed sums · 613d7455
      Ryan Scott authored and Ben Gamari's avatar Ben Gamari committed
      This adds new constructors `UnboxedSumE`, `UnboxedSumT`, and
      `UnboxedSumP` to represent unboxed sums in Template Haskell.
      
      One thing you can't currently do is, e.g., `reify ''(#||#)`, since I
      don't believe unboxed sum type/data constructors can be written in
      prefix form.  I will look at fixing that as part of #12514.
      
      Fixes #12478.
      
      Test Plan: make test TEST=T12478_{1,2,3}
      
      Reviewers: osa1, goldfire, austin, bgamari
      
      Reviewed By: goldfire, bgamari
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2448
      
      GHC Trac Issues: #12478
      613d7455
    • mniip's avatar
      RtClosureInspect: Fix off-by-one error in cvReconstructType · 1766bb3c
      mniip authored and Ben Gamari's avatar Ben Gamari committed
      Replaced error-prone index manipulation on a pointer array with
      a simple fold on the array elements.
      
      Test Plan: Added a test case that triggers the bug
      
      Reviewers: hvr, austin, bgamari
      
      Reviewed By: bgamari
      
      Subscribers: simonpj, thomie
      
      Differential Revision: https://phabricator.haskell.org/D2439
      
      GHC Trac Issues: #12458
      1766bb3c
    • Ömer Sinan Ağacan's avatar
      Add T12520 as a test · 89facad2
      Ömer Sinan Ağacan authored
        #12520 was already fixed in HEAD. Adding a test to make sure it stays fixed.
      89facad2
  4. 22 Aug, 2016 4 commits
    • Ryan Scott's avatar
      Move #12403, #12513 users guide notes to 8.2.1 release notes · acdbd16f
      Ryan Scott authored
      The changes in #12403 and #12513 subtly changed the behavior of Template
      Haskell reification and splicing. While the old behavior was certainly buggy,
      it's possible that there's code in the wild that depended on the old behavior
      to work. To err on the side of caution, I'll postpone these changes to GHC
      8.2.1 instead of having them merged into GHC 8.0.2.
      acdbd16f
    • Edward Z. Yang's avatar
      1f75440f
    • Ryan Scott's avatar
      Splice singleton unboxed tuples correctly with Template Haskell · fb0d87f1
      Ryan Scott authored
      Summary:
      Previously, TH would implicitly remove the parentheses when splicing in
      singleton unboxed tuple types (e.g., turning `(# Int #)` into `Int`). Luckily,
      the fix is simply to delete some code.
      
      Fixes #12513.
      
      Test Plan: make test TEST=T12513
      
      Reviewers: hvr, bgamari, austin, goldfire
      
      Reviewed By: goldfire
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2462
      
      GHC Trac Issues: #12513
      fb0d87f1
    • kgardas's avatar
      pass -z wxneeded or -Wl,-zwxneeded for linking on OpenBSD · f9aa996f
      kgardas authored
      Summary:
      This patch fixes issue with abort in GHCi on OpenBSD current
      as of Aug 12 2016. The OpenBSD is more and more strict about usage
      of writable and executable memory. Programs/applications which
      requires such functionality need to be linked with -z wxneeded linker
      flag and need to be run from the file-system mounted with wxallowed
      mount option. If either of those options in not met, then problematic
      program/application usually fail on some mmap/mprotect call which fail.
      
      Reviewers: bgamari, austin, hvr
      
      Subscribers: thomie, erikd
      
      Differential Revision: https://phabricator.haskell.org/D2454
      f9aa996f
  5. 21 Aug, 2016 8 commits
  6. 19 Aug, 2016 1 commit
  7. 18 Aug, 2016 1 commit
  8. 17 Aug, 2016 4 commits
  9. 16 Aug, 2016 4 commits
  10. 15 Aug, 2016 3 commits
  11. 14 Aug, 2016 4 commits
    • kgardas's avatar
      fix compilation failure on OpenBSD with system supplied GNU C 4.2.1 · ffd4029c
      kgardas authored
      Summary:
      This patch fixes compilation failure on OpenBSD. The OpenBSD's
      GNU C compiler is of 4.2.1 version and problematic __builtin_unreachable
      was added in GNU C 4.5 release. Let's use pure abort() call
      on OpenBSD instead of __builtin_unreachable
      
      Reviewers: bgamari, austin, erikd, simonmar
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2453
      ffd4029c
    • Tamar Christina's avatar
      Fix configure detection. · 18f06878
      Tamar Christina authored
      Summary:
      GHC's configure script seems to normalize the values returned from config.guess.
      So for Windows it turns x86_64-pc-mingw64 into x86_64-unknown-mingw32.
      These mangled names are stored in the values $BuildPlatform, $HostPlatform
      and $TargetPlatform.
      
      However further down the file when the comparison is done between the stage0
      compiler and the host the normalized versions are not used.
      So when normalization actually changes the triple this check will fail.
      
      Not sure why it's worked for all this time.. Nor if this is the right fix?
      Does it still work for cross compiling correctly?
      
      Test Plan: ./configure
      
      Reviewers: hvr, austin, thomie, bgamari, erikd
      
      Reviewed By: erikd
      
      Subscribers: erikd, #ghc_windows_task_force
      
      Differential Revision: https://phabricator.haskell.org/D2452
      
      GHC Trac Issues: #12487
      18f06878
    • Gabor Greif's avatar
      Misspellings in comments [skip ci] · 7ad3b491
      Gabor Greif authored
      7ad3b491
    • Gabor Greif's avatar
      Update `nofib` submodule to newest commit · 37a7bcbc
      Gabor Greif authored
      37a7bcbc