Fri May 4 05:24:05 PDT 2007 [EMAIL PROTECTED]
* Make -frewrite-rules into a dynamic flag; off for -O0
Argubly rewrite rules should not fire with -O0, and it turns
out that when compiling GHC.Base with -O0 we get a crash if
the rewrite rules do fire (see Note [Scoping for Builtin rules]
in PrelRules).
So unless someone yells, rewrite rules are off with -O0.
The new (now dynamic) flag is
-frewrite rules (with -fno-rewrite-rules to disable)
The old (static) flag -frules-off is gone.
M ./compiler/deSugar/DsListComp.lhs -1 +1
M ./compiler/main/DynFlags.hs -1 +7
M ./compiler/main/StaticFlags.hs -3
M ./compiler/prelude/PrelRules.lhs -3 +28
M ./compiler/simplCore/SimplUtils.lhs -3 +4
M ./compiler/simplCore/Simplify.lhs -1 +1
M ./docs/users_guide/flags.xml -30 +45
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc