• Ben Gamari's avatar
    Add -fcross-module-specialise flag · 89834d6d
    Ben Gamari authored
    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
DynFlags.hs 172 KB