[commit: ghc] master: Add -fcross-module-specialise flag (89834d6)

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


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/89834d6d99da564aa14e63f2f801f50a615ce322/ghc

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

commit 89834d6d99da564aa14e63f2f801f50a615ce322
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Sun Jun 28 18:26:42 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


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

89834d6d99da564aa14e63f2f801f50a615ce322
 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(-)

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 89834d6d99da564aa14e63f2f801f50a615ce322


More information about the ghc-commits mailing list