1. 28 Nov, 2017 3 commits
  2. 27 Nov, 2017 3 commits
  3. 23 Nov, 2017 3 commits
  4. 22 Nov, 2017 6 commits
  5. 21 Nov, 2017 2 commits
  6. 20 Nov, 2017 1 commit
  7. 19 Nov, 2017 1 commit
  8. 18 Nov, 2017 2 commits
    • Moritz Angermann's avatar
      Relocatable GHC · bb11a2d9
      Moritz Angermann authored
      GHC and the binary distribution that's produced is
      not relocatable outside of Windows.  This diff tries to
      address this for at least Linux and macOS.
      Reviewers: austin, hvr, bgamari, erikd, goldfire, Phyx
      Reviewed By: bgamari
      Subscribers: duog, rwbarton, thomie, erikd
      Differential Revision: https://phabricator.haskell.org/D4121
    • Moritz Angermann's avatar
      Adds -ghc-version flag to ghc. · 12a74444
      Moritz Angermann authored
      When building the rts with ghc (e.g. using ghc as a c compiler), ghc's
      "Value Add"[1] is, it includes adding `-include /path/to/ghcversion.h`.  For
      this it looksup the rts package in the package database, which--if
      empty--fails.  Thus to allow compiling C files with GHC, we add the
      `-ghc-version` flag, which takes the path to the `ghcversion.h` file.
      A `-no-ghc-version` flag was omitted, as at that point it becomes
      questionable why one would use ghc to compile c if one doesn't
      any of the added value.
      [1] from `compiler/main/DriverPipeline.hs`
      >        -- add package include paths even if we're just compiling .c
      >        -- files; this is the Value Add(TM) that using ghc instead of
      >        -- gcc gives you :)
      Reviewers: bgamari, geekosaur, austin
      Reviewed By: bgamari
      Subscribers: rwbarton, thomie
      Differential Revision: https://phabricator.haskell.org/D4135
  9. 15 Nov, 2017 7 commits
  10. 14 Nov, 2017 3 commits
  11. 11 Nov, 2017 2 commits
  12. 09 Nov, 2017 5 commits
    • Peter Trommler's avatar
      Fix PPC NCG after blockID patch · f8e7fece
      Peter Trommler authored
      Commit rGHC8b007ab assigns the same label to the first basic block
      of a proc and to the proc entry point. This violates the PPC 64-bit ELF
      v. 1.9 and v. 2.0 ABIs and leads to duplicate symbols.
      This patch fixes duplicate symbols caused by block labels
      In commit rGHCd7b8da1 an info table label is generated from a block id.
      Getting the entry label from that info label leads to an undefined
      symbol because a suffix "_entry" that is not present in the block label.
      To fix that issue add a new info table label flavour for labels
      derived from block ids. Converting such a label with toEntryLabel
      produces the original block label.
      Fixes #14311
      Test Plan: ./validate
      Reviewers: austin, bgamari, simonmar, erikd, hvr, angerman
      Reviewed By: bgamari
      Subscribers: rwbarton, thomie
      GHC Trac Issues: #14311
      Differential Revision: https://phabricator.haskell.org/D4149
    • Douglas Wilson's avatar
      Change `OPTIONS_GHC -O` to `OPTIONS_GHC -O2` · 75291aba
      Douglas Wilson authored
      These pragmas were having the perverse effect of having these
      performance critical modules be LESS optimized in builds with -O2.
      Test Plan: Check on gipedia whether this is worthwhile.
      Reviewers: austin, bgamari
      Reviewed By: bgamari
      Subscribers: rwbarton, thomie
      Differential Revision: https://phabricator.haskell.org/D4156
    • David Feuer's avatar
      Remove unreliable Core Lint empty case checks · 6b52b4c8
      David Feuer authored
      Trac #13990 shows that the Core Lint checks for empty case are
      unreliable, and very hard to make reliable. The consensus (among
      simonpj, nomeata, and goldfire) seems to be that they should be
      removed altogether. Do that.
      Add test
      Reviewers: goldfire, bgamari
      Reviewed By: bgamari
      Subscribers: rwbarton, thomie
      GHC Trac Issues: #13990
      Differential Revision: https://phabricator.haskell.org/D4161
    • Tamar Christina's avatar
      Update Win32 version for GHC 8.4. · bdd2d286
      Tamar Christina authored
      Update to Win32 2.6 which is the expected version release for 8.4
      This involves moving Cabal forward which brings some backwards incompatible
      changes that needs various fixups.
      Bump a bunch of submodules
      Test Plan: ./validate
      Reviewers: austin, bgamari, angerman
      Reviewed By: bgamari, angerman
      Subscribers: angerman, thomie, rwbarton
      Differential Revision: https://phabricator.haskell.org/D4133
    • Joachim Breitner's avatar
      Invoke lintUnfolding only on top-level unfoldings (#14430) · 803ed036
      Joachim Breitner authored
      as nested unfoldings are linted together with the top-level unfolding,
      and lintUnfolding does the wrong things for nestd unfoldings that
      mention join points.
      The easiest way of doing that was to pass a TopLevel flag through
      `tcUnfolding`, which is invoked both for top level and nested
      Differential Revision: https://phabricator.haskell.org/D4169
  13. 08 Nov, 2017 2 commits