From dab80474aec701dab215ed0f9b9bfa904083182a Mon Sep 17 00:00:00 2001 From: Roman Leshchinskiy Date: Wed, 10 Sep 2008 04:53:39 +0000 Subject: [PATCH] -Odph implies -fno-spec-constr-count --- compiler/main/DynFlags.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index cf1d7e9..43ecba7 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -1860,10 +1860,12 @@ setOptLevel n dflags -- -fdicts-cheap always inline dictionaries -- -fmax-simplifier-iterations20 this is necessary sometimes -- -fno-spec-constr-threshold run SpecConstr even for big loops +-- -fno-spec-constr-count SpecConstr as much as possible -- setDPHOpt :: DynFlags -> DynFlags setDPHOpt dflags = setOptLevel 2 (dflags { maxSimplIterations = 20 , specConstrThreshold = Nothing + , specConstrCount = Nothing }) `dopt_set` Opt_DictsCheap `dopt_unset` Opt_MethodSharing -- 1.7.10.4