[commit: ghc] wip/nested-cpr: Replace static CPR flags by dynamic -fcpr-depth (c636d36)

git at git.haskell.org git at git.haskell.org
Tue Feb 4 18:27:36 UTC 2014


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

On branch  : wip/nested-cpr
Link       : http://ghc.haskell.org/trac/ghc/changeset/c636d36cfd001e5863e4680ee86864a322d444fa/ghc

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

commit c636d36cfd001e5863e4680ee86864a322d444fa
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Jan 17 13:12:28 2014 +0000

    Replace static CPR flags by dynamic -fcpr-depth
    
    which can disable cpr altogether (=0), disable nested cpr (=1) or
    finetune cpr.
    
    Also includes a testcase for this.


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

c636d36cfd001e5863e4680ee86864a322d444fa
 compiler/basicTypes/Demand.lhs                     |   52 +++++++-------------
 compiler/main/DynFlags.hs                          |    6 +++
 compiler/main/StaticFlags.hs                       |   13 +----
 compiler/stranal/DmdAnal.lhs                       |   12 +++--
 docs/users_guide/flags.xml                         |    9 ++++
 .../sigs/{InfiniteCPR.hs => InfiniteCPRDepth0.hs}  |    2 +
 .../{T8569.stderr => InfiniteCPRDepth0.stderr}     |    2 +-
 .../sigs/{InfiniteCPR.hs => InfiniteCPRDepth1.hs}  |    2 +
 .../{T8569.stderr => InfiniteCPRDepth1.stderr}     |    2 +-
 testsuite/tests/stranal/sigs/all.T                 |    2 +
 10 files changed, 48 insertions(+), 54 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 c636d36cfd001e5863e4680ee86864a322d444fa


More information about the ghc-commits mailing list