[commit: ghc] master: Default RuntimeRep variables unless -fprint-explicit-runtime-reps (371608f)

git at git.haskell.org git at git.haskell.org
Thu Mar 24 15:12:44 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/371608f1cdaf20c49eb6c5ec165b9eb08b745a89/ghc

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

commit 371608f1cdaf20c49eb6c5ec165b9eb08b745a89
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


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

371608f1cdaf20c49eb6c5ec165b9eb08b745a89
 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 371608f1cdaf20c49eb6c5ec165b9eb08b745a89


More information about the ghc-commits mailing list