[project @ 1997-09-03 15:55:02 by simonm]
authorsimonm <unknown>
Wed, 3 Sep 1997 15:55:02 +0000 (15:55 +0000)
committersimonm <unknown>
Wed, 3 Sep 1997 15:55:02 +0000 (15:55 +0000)
turn on do-case-elim for -Onot, since several easy-to-remove casees
were spotted in the output from -ddump-simpl under -Onot.

ghc/driver/ghc.lprl

index c9a35f7..e8c7154 100644 (file)
@@ -698,6 +698,7 @@ sub setupOptimiseFlags {
          '-ffloat-lets-exposing-whnf',
          '-ffloat-primops-ok',
          '-fcase-of-case',
+         '-fdo-case-elim',
 #        '-fdo-lambda-eta-expansion',  # too complicated
          '-freuse-con',
 #        '-flet-to-case',              # no strictness analysis, so...