[commit: ghc] master: Remove unnecessary warnings suppressions, fixes ticket #7756; thanks monoidal for submitting. (9f26442)

Edward Z. Yang ezyang at MIT.EDU
Sun Mar 10 05:17:37 CET 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/9f2644215e39eb9509da819f6f5d4d7f1984d386

>---------------------------------------------------------------

commit 9f2644215e39eb9509da819f6f5d4d7f1984d386
Author: Edward Z. Yang <ezyang at mit.edu>
Date:   Sat Mar 9 20:16:58 2013 -0800

    Remove unnecessary warnings suppressions, fixes ticket #7756; thanks monoidal for submitting.
    
    Signed-off-by: Edward Z. Yang <ezyang at mit.edu>

>---------------------------------------------------------------

 compiler/cmm/Cmm.hs                   | 1 -
 compiler/cmm/CmmContFlowOpt.hs        | 3 +--
 compiler/cmm/CmmProcPoint.hs          | 1 -
 compiler/cmm/CmmRewriteAssignments.hs | 3 ---
 compiler/cmm/CmmUtils.hs              | 4 ----
 5 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/compiler/cmm/Cmm.hs b/compiler/cmm/Cmm.hs
index 0b3040d..fadce0b 100644
--- a/compiler/cmm/Cmm.hs
+++ b/compiler/cmm/Cmm.hs
@@ -1,6 +1,5 @@
 -- Cmm representations using Hoopl's Graph CmmNode e x.
 {-# LANGUAGE GADTs #-}
-{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
 
 module Cmm (
      -- * Cmm top-level datatypes
diff --git a/compiler/cmm/CmmContFlowOpt.hs b/compiler/cmm/CmmContFlowOpt.hs
index c59a434..b816a0c 100644
--- a/compiler/cmm/CmmContFlowOpt.hs
+++ b/compiler/cmm/CmmContFlowOpt.hs
@@ -1,6 +1,5 @@
 {-# LANGUAGE GADTs #-}
-{-# OPTIONS_GHC -fno-warn-warnings-deprecations -fno-warn-incomplete-patterns #-}
-
+{-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
 module CmmContFlowOpt
     ( cmmCfgOpts
     , cmmCfgOptsProc
diff --git a/compiler/cmm/CmmProcPoint.hs b/compiler/cmm/CmmProcPoint.hs
index abf2393..c0dd0e1 100644
--- a/compiler/cmm/CmmProcPoint.hs
+++ b/compiler/cmm/CmmProcPoint.hs
@@ -1,5 +1,4 @@
 {-# LANGUAGE GADTs, DisambiguateRecordFields #-}
-{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
 
 module CmmProcPoint
     ( ProcPointSet, Status(..)
diff --git a/compiler/cmm/CmmRewriteAssignments.hs b/compiler/cmm/CmmRewriteAssignments.hs
index 8381d12..3c0a05b 100644
--- a/compiler/cmm/CmmRewriteAssignments.hs
+++ b/compiler/cmm/CmmRewriteAssignments.hs
@@ -4,9 +4,6 @@
 
 {-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
 
--- TODO: Get rid of this flag:
-{-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
-
 -- This module implements generalized code motion for assignments to
 -- local registers, inlining and sinking when possible.  It also does
 -- some amount of rewriting for stores to register slots, which are
diff --git a/compiler/cmm/CmmUtils.hs b/compiler/cmm/CmmUtils.hs
index b9712fa..78e5562 100644
--- a/compiler/cmm/CmmUtils.hs
+++ b/compiler/cmm/CmmUtils.hs
@@ -1,9 +1,5 @@
 {-# LANGUAGE GADTs #-}
 
-{-# OPTIONS_GHC -fno-warn-deprecations #-}
--- Warnings from deprecated blockToNodeList
-
-
 -----------------------------------------------------------------------------
 --
 -- Cmm utilities.





More information about the ghc-commits mailing list