Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/a07ce419e7c365c66aea478d0b348d0a8c6518ca >--------------------------------------------------------------- commit a07ce419e7c365c66aea478d0b348d0a8c6518ca Author: Ian Lynagh <[email protected]> Date: Fri Jun 17 19:37:56 2011 +0100 Fix build I'm not sure what's going on with these warnings, but for now I've suppressed them all. >--------------------------------------------------------------- compiler/cmm/CmmRewriteAssignments.hs | 8 +------- compiler/cmm/CmmSpillReload.hs | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/compiler/cmm/CmmRewriteAssignments.hs b/compiler/cmm/CmmRewriteAssignments.hs index 46e877c..36ee762 100644 --- a/compiler/cmm/CmmRewriteAssignments.hs +++ b/compiler/cmm/CmmRewriteAssignments.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 -- This module implements generalized code motion for assignments to -- local registers, inlining and sinking when possible. It also does diff --git a/compiler/cmm/CmmSpillReload.hs b/compiler/cmm/CmmSpillReload.hs index 031d200..1fa2328 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 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
