1
0
forked from GitHub/gf-core

Don't make noexpand the default with -fcclazy

This reverts the previous change. Not preprocessing opers turns out to make a
difference in what needs to be mentioned in restricted inheritance/imports.
This commit is contained in:
hallgren
2011-09-09 16:17:33 +00:00
parent 0bc4513ae5
commit c8501547bf

View File

@@ -1,4 +1,3 @@
{-# LANGUAGE CPP #-}
module GF.Infra.Option
(
-- * Option types
@@ -269,11 +268,11 @@ defaultFlags = Flags {
optResName = Nothing,
optPreprocessors = [],
optEncoding = "latin1",
#ifdef CC_LAZY
optOptimizations = Set.fromList [OptStem,OptCSE],
#else
-- #ifdef CC_LAZY
-- optOptimizations = Set.fromList [OptStem,OptCSE],
-- #else
optOptimizations = Set.fromList [OptStem,OptCSE,OptExpand,OptParametrize],
#endif
-- #endif
optOptimizePGF = False,
optMkIndexPGF = False,
optCFGTransforms = Set.fromList [CFGRemoveCycles, CFGBottomUpFilter,