[project @ 2003-09-29 11:03:29 by simonmar]
authorsimonmar <unknown>
Mon, 29 Sep 2003 11:03:29 +0000 (11:03 +0000)
committersimonmar <unknown>
Mon, 29 Sep 2003 11:03:29 +0000 (11:03 +0000)
oops, we need to include -fignore-interface-pragmas and
-fomit-interface-pragmas in the default set of options.

ghc/compiler/main/CmdLineOpts.lhs

index caae4cb..153c058 100644 (file)
@@ -384,11 +384,16 @@ defaultDynFlags = DynFlags {
                        -- applies to -O.
            Opt_CSE,
                        -- similarly for CSE.
-           Opt_DoLambdaEtaExpansion
+           Opt_DoLambdaEtaExpansion,
                        -- This one is important for a tiresome reason:
                        -- we want to make sure that the bindings for data 
                        -- constructors are eta-expanded.  This is probably
                        -- a good thing anyway, but it seems fragile.
+
+           -- and the default no-optimisation options:
+           Opt_IgnoreInterfacePragmas,
+           Opt_OmitInterfacePragmas
+
            ] ++ standardWarnings,
   }