[commit: ghc] master: Add -fcross-module-specialise flag (302d937)

git at git.haskell.org git at git.haskell.org
Sun Jun 28 16:31:36 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/302d937782ccb3068244e948d49daff3435e05c0/ghc

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

commit 302d937782ccb3068244e948d49daff3435e05c0
Merge: 8d221bb 89834d6
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Jun 28 18:32:07 2015 +0200

    Add -fcross-module-specialise flag
    
    Summary:
    As of 7.10.1 we specialize INLINEABLE identifiers defined in other
    modules. This can expose issues (compiler bugs or otherwise) in some cases
    (e.g. Trac #10491) and therefore we now provide a way for the user to disable
    this optimization.
    
    Test Plan: Successfully compile Splice.hs from Trac #10491.
    
    Reviewers: simonpj, austin
    
    Reviewed By: simonpj
    
    Subscribers: simonpj, thomie, bgamari
    
    Differential Revision: https://phabricator.haskell.org/D999
    
    GHC Trac Issues: #10491



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

302d937782ccb3068244e948d49daff3435e05c0
 compiler/main/DynFlags.hs         |  3 ++
 compiler/specialise/Specialise.hs | 64 +++++++++++++++++++++++++++++++++------
 docs/users_guide/flags.xml        |  7 +++++
 docs/users_guide/using.xml        | 23 +++++++++++---
 4 files changed, 83 insertions(+), 14 deletions(-)




More information about the ghc-commits mailing list