[commit: ghc] ghc-8.0: Default RuntimeRep variables unless -fprint-explicit-runtime-reps (f0dcd55)

git at git.haskell.org git at git.haskell.org
Thu Mar 24 22:00:34 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/f0dcd551de3b883516fef37a6f762f2d799d7bf8/ghc

>---------------------------------------------------------------

commit f0dcd551de3b883516fef37a6f762f2d799d7bf8
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Thu Mar 24 11:39:59 2016 +0100

    Default RuntimeRep variables unless -fprint-explicit-runtime-reps
    
    Summary:
    Addresses #11549 by defaulting `RuntimeRep` variables to `PtrRepLifted`
    and adding a new compiler flag `-fprint-explicit-runtime-reps` to
    disable this behavior.
    
    This is just a guess at the right way to go about this. If it's
    wrong-beyond-any-hope just say so.
    
    Test Plan: Working on a testcase
    
    Reviewers: goldfire, austin
    
    Subscribers: simonpj, thomie
    
    Differential Revision: https://phabricator.haskell.org/D1961
    
    GHC Trac Issues: #11549
    
    (cherry picked from commit 371608f1cdaf20c49eb6c5ec165b9eb08b745a89)


>---------------------------------------------------------------

f0dcd551de3b883516fef37a6f762f2d799d7bf8
 compiler/main/DynFlags.hs                          |  2 +
 compiler/prelude/TysWiredIn.hs-boot                |  1 +
 compiler/types/TyCoRep.hs                          | 89 +++++++++++++++++++++-
 docs/users_guide/using.rst                         | 16 ++++
 testsuite/tests/dependent/ghci/T11549.script       | 14 ++++
 testsuite/tests/dependent/ghci/T11549.stdout       | 12 +++
 testsuite/tests/dependent/ghci/all.T               |  3 +
 .../dependent/should_fail/TypeSkolEscape.stderr    |  2 +-
 testsuite/tests/ghci/scripts/T7627.stdout          | 10 +--
 utils/mkUserGuidePart/Options/Verbosity.hs         |  7 ++
 10 files changed, 144 insertions(+), 12 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc f0dcd551de3b883516fef37a6f762f2d799d7bf8


More information about the ghc-commits mailing list