summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/cmm/Cmm.hs1
-rw-r--r--compiler/cmm/CmmContFlowOpt.hs3
-rw-r--r--compiler/cmm/CmmProcPoint.hs1
-rw-r--r--compiler/cmm/CmmRewriteAssignments.hs3
-rw-r--r--compiler/cmm/CmmUtils.hs4
5 files changed, 1 insertions, 11 deletions
diff --git a/compiler/cmm/Cmm.hs b/compiler/cmm/Cmm.hs
index 0b3040d597..fadce0b5eb 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 c59a4342b4..b816a0c674 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 abf2393bd2..c0dd0e1950 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 8381d12e7c..3c0a05b949 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 b9712fa59b..78e5562d81 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.