[commit: ghc] master: Add -fno-cse pragma in DynFlags.hs (fixes #7595) (fa86863)

Ian Lynagh igloo at earth.li
Sat Feb 9 00:34:07 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/fa8686331d30d7b41f9fc8654e7271819fa14a86

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

commit fa8686331d30d7b41f9fc8654e7271819fa14a86
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date:   Wed Jan 30 07:59:57 2013 +0100

    Add -fno-cse pragma in DynFlags.hs (fixes #7595)

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

 compiler/main/DynFlags.hs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 2afe15f..dcabb8f 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -11,6 +11,9 @@
 --
 -------------------------------------------------------------------------------
 
+{-# OPTIONS -fno-cse #-}
+-- -fno-cse is needed for GLOBAL_VAR's to behave properly
+
 module DynFlags (
         -- * Dynamic flags and associated configuration types
         DumpFlag(..),





More information about the ghc-commits mailing list