Ticket #7756: warn_reenable.patch

File warn_reenable.patch, 2.0 KB (added by monoidal, 2 years ago)
  • compiler/cmm/Cmm.hs

    diff --git a/compiler/cmm/Cmm.hs b/compiler/cmm/Cmm.hs
    index 0b3040d..fadce0b 100644
    a b  
    11-- Cmm representations using Hoopl's Graph CmmNode e x.
    22{-# LANGUAGE GADTs #-}
    3 {-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
    43
    54module Cmm (
    65     -- * Cmm top-level datatypes
  • compiler/cmm/CmmContFlowOpt.hs

    diff --git a/compiler/cmm/CmmContFlowOpt.hs b/compiler/cmm/CmmContFlowOpt.hs
    index c59a434..b816a0c 100644
    a b  
    11{-# LANGUAGE GADTs #-}
    2 {-# OPTIONS_GHC -fno-warn-warnings-deprecations -fno-warn-incomplete-patterns #-}
    3 
     2{-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
    43module CmmContFlowOpt
    54    ( cmmCfgOpts
    65    , cmmCfgOptsProc
  • compiler/cmm/CmmProcPoint.hs

    diff --git a/compiler/cmm/CmmProcPoint.hs b/compiler/cmm/CmmProcPoint.hs
    index abf2393..c0dd0e1 100644
    a b  
    11{-# LANGUAGE GADTs, DisambiguateRecordFields #-}
    2 {-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
    32
    43module CmmProcPoint
    54    ( ProcPointSet, Status(..)
  • compiler/cmm/CmmRewriteAssignments.hs

    diff --git a/compiler/cmm/CmmRewriteAssignments.hs b/compiler/cmm/CmmRewriteAssignments.hs
    index 8381d12..3c0a05b 100644
    a b  
    44
    55{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
    66
    7 -- TODO: Get rid of this flag:
    8 {-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
    9 
    107-- This module implements generalized code motion for assignments to
    118-- local registers, inlining and sinking when possible.  It also does
    129-- some amount of rewriting for stores to register slots, which are
  • compiler/cmm/CmmUtils.hs

    diff --git a/compiler/cmm/CmmUtils.hs b/compiler/cmm/CmmUtils.hs
    index b9712fa..78e5562 100644
    a b  
    11{-# LANGUAGE GADTs #-}
    22
    3 {-# OPTIONS_GHC -fno-warn-deprecations #-}
    4 -- Warnings from deprecated blockToNodeList
    5 
    6 
    73-----------------------------------------------------------------------------
    84--
    95-- Cmm utilities.