Move -fno-cse flags from Makefile into pragmas
[ghc-hetmet.git] / compiler / main / StaticFlags.hs
index 8d88037..499367d 100644 (file)
@@ -1,3 +1,6 @@
+{-# OPTIONS -fno-cse #-}
+-- -fno-cse is needed for GLOBAL_VAR's to behave properly
+
 -----------------------------------------------------------------------------
 --
 -- Static flags
@@ -649,7 +652,7 @@ way_details =
        , "-package concurrent" ]),
 
     (WayNDP, Way  "ndp" False "Nested data parallelism"
-       [ "-fparr"
+       [ "-XParr"
        , "-fvectorise"]),
 
     (WayUser_a,  Way  "a"  False "User way 'a'"  ["$WAY_a_REAL_OPTS"]),