[project @ 2001-08-02 16:30:41 by simonmar]
authorsimonmar <unknown>
Thu, 2 Aug 2001 16:31:13 +0000 (16:31 +0000)
committersimonmar <unknown>
Thu, 2 Aug 2001 16:31:13 +0000 (16:31 +0000)
Turn the strictness analyser back on again.

ghc/compiler/main/DriverState.hs
ghc/compiler/stranal/DmdAnal.lhs

index 719ca5d..f45105f 100644 (file)
@@ -1,5 +1,5 @@
 -----------------------------------------------------------------------------
--- $Id: DriverState.hs,v 1.51 2001/07/31 10:06:25 sewardj Exp $
+-- $Id: DriverState.hs,v 1.52 2001/08/02 16:30:41 simonmar Exp $
 --
 -- Settings for the driver
 --
@@ -143,7 +143,7 @@ GLOBAL_VAR(v_minus_o2_for_C,            False, Bool)
 GLOBAL_VAR(v_MaxSimplifierIterations,   4,     Int)
 GLOBAL_VAR(v_StgStats,                  False, Bool)
 GLOBAL_VAR(v_UsageSPInf,               False, Bool)  -- Off by default
-GLOBAL_VAR(v_Strictness,               False {-True-},  Bool)
+GLOBAL_VAR(v_Strictness,               True,  Bool)
 GLOBAL_VAR(v_CPR,                      True,  Bool)
 GLOBAL_VAR(v_CSE,                      True,  Bool)
 
index ec5d6e2..f7cef99 100644 (file)
@@ -57,8 +57,6 @@ instance Outputable TopLevelFlag where
 \begin{code}
 dmdAnalPgm :: DynFlags -> [CoreBind] -> IO [CoreBind]
 dmdAnalPgm dflags binds
-  = panic "dmdAnalPgm called"
-dmdAnalPgm dflags binds
   = do {
        showPass dflags "Demand analysis" ;
        let { binds_plus_dmds = do_prog binds ;