-Odph implies -fno-spec-constr-count
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Wed, 10 Sep 2008 04:53:39 +0000 (04:53 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Wed, 10 Sep 2008 04:53:39 +0000 (04:53 +0000)
compiler/main/DynFlags.hs

index cf1d7e9..43ecba7 100644 (file)
@@ -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