summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmSpillReload.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-06-17 19:37:56 +0100
committerIan Lynagh <igloo@earth.li>2011-06-17 19:37:56 +0100
commita07ce419e7c365c66aea478d0b348d0a8c6518ca (patch)
treeaaf4b7a0e78e08a6c261036fa7572c7324d2c243 /compiler/cmm/CmmSpillReload.hs
parent80ac4155015ce74f7e08fd2b395add9d1e1dbc8b (diff)
downloadhaskell-a07ce419e7c365c66aea478d0b348d0a8c6518ca.tar.gz
Fix build
I'm not sure what's going on with these warnings, but for now I've suppressed them all.
Diffstat (limited to 'compiler/cmm/CmmSpillReload.hs')
-rw-r--r--compiler/cmm/CmmSpillReload.hs8
1 files changed, 1 insertions, 7 deletions
diff --git a/compiler/cmm/CmmSpillReload.hs b/compiler/cmm/CmmSpillReload.hs
index 031d20075f..1fa23285bb 100644
--- a/compiler/cmm/CmmSpillReload.hs
+++ b/compiler/cmm/CmmSpillReload.hs
@@ -4,14 +4,8 @@
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
--- GHC 7.0.1 improved incomplete pattern warnings with GADTs, but for
--- older compilers we need to turn warn-incomplete-patterns off.
--- However, older compilers don't support OPTIONS_GHC inside CPP, so
--- we instead always turn it off, and then conditionally turn it back on.
+-- TODO: Get rid of this flag:
{-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
-#if __GLASGOW_HASKELL__ >= 700
-{-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
-#endif
module CmmSpillReload
( dualLivenessWithInsertion