[commit: ghc] wip/nested-cpr: Replace static CPR flags by dynamic -fcpr-depth (66abd95)
git at git.haskell.org
git at git.haskell.org
Fri Jan 17 23:50:42 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nested-cpr
Link : http://ghc.haskell.org/trac/ghc/changeset/66abd95843ee01b1d0a0276787fcb70226c48870/ghc
>---------------------------------------------------------------
commit 66abd95843ee01b1d0a0276787fcb70226c48870
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.
>---------------------------------------------------------------
66abd95843ee01b1d0a0276787fcb70226c48870
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 66abd95843ee01b1d0a0276787fcb70226c48870
More information about the ghc-commits
mailing list