summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2019-10-25 17:06:45 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-26 19:54:16 -0400
commit4054f0e537c467f226c57342371c953e2053fb08 (patch)
tree7c16a47628c3c0727f9f5d695e3af9ff591c6323
parent417f59d4140ef43714abf0307d2abd0742222db2 (diff)
downloadhaskell-4054f0e537c467f226c57342371c953e2053fb08.tar.gz
Remove redundant -fno-cse options
These were probably added with some GLOBAL_VARs, but those GLOBAL_VARs are now gone.
-rw-r--r--compiler/ghci/Linker.hs2
-rw-r--r--compiler/main/DriverPipeline.hs2
-rw-r--r--ghc/GHCi/UI.hs3
-rw-r--r--ghc/GHCi/UI/Monad.hs3
4 files changed, 1 insertions, 9 deletions
diff --git a/compiler/ghci/Linker.hs b/compiler/ghci/Linker.hs
index 3aa3dbf636..f8bf25b642 100644
--- a/compiler/ghci/Linker.hs
+++ b/compiler/ghci/Linker.hs
@@ -1,7 +1,5 @@
{-# LANGUAGE CPP, NondecreasingIndentation, TupleSections, RecordWildCards #-}
{-# LANGUAGE BangPatterns #-}
-{-# OPTIONS_GHC -fno-cse #-}
--- -fno-cse is needed for GLOBAL_VAR's to behave properly
--
-- (c) The University of Glasgow 2002-2006
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs
index a71f4d991b..1a3ced0fd9 100644
--- a/compiler/main/DriverPipeline.hs
+++ b/compiler/main/DriverPipeline.hs
@@ -1,6 +1,4 @@
{-# LANGUAGE CPP, NamedFieldPuns, NondecreasingIndentation, BangPatterns, MultiWayIf #-}
-{-# OPTIONS_GHC -fno-cse #-}
--- -fno-cse is needed for GLOBAL_VAR's to behave properly
-----------------------------------------------------------------------------
--
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs
index 34bb627238..bf1eddfa5b 100644
--- a/ghc/GHCi/UI.hs
+++ b/ghc/GHCi/UI.hs
@@ -10,9 +10,6 @@
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE ViewPatterns #-}
-{-# OPTIONS -fno-cse #-}
--- -fno-cse is needed for GLOBAL_VAR's to behave properly
-
-----------------------------------------------------------------------------
--
-- GHC Interactive User Interface
diff --git a/ghc/GHCi/UI/Monad.hs b/ghc/GHCi/UI/Monad.hs
index aa09af2f15..824a822796 100644
--- a/ghc/GHCi/UI/Monad.hs
+++ b/ghc/GHCi/UI/Monad.hs
@@ -1,6 +1,5 @@
{-# LANGUAGE CPP, FlexibleInstances, DeriveFunctor #-}
-{-# OPTIONS_GHC -fno-cse -fno-warn-orphans #-}
--- -fno-cse is needed for GLOBAL_VAR's to behave properly
+{-# OPTIONS_GHC -fno-warn-orphans #-}
-----------------------------------------------------------------------------
--