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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/26cf7e526c8e88d8c161c2e30865a914fc48ed6c

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

commit 26cf7e526c8e88d8c161c2e30865a914fc48ed6c
Author: David Terei <[email protected]>
Date:   Fri Aug 19 12:13:43 2011 -0700

    'Fix' a validation problem when bootstrap is 7.2.1
    
    Problem is with GADTs in new code gen and incomplete pattern
    warnings. Just disabled the warning really and created #5424
    to track an actual fix.

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

 compiler/cmm/Cmm.hs            |    2 +-
 compiler/cmm/CmmNode.hs        |    2 +-
 compiler/cmm/CmmStackLayout.hs |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/cmm/Cmm.hs b/compiler/cmm/Cmm.hs
index e49d960..49ea6dd 100644
--- a/compiler/cmm/Cmm.hs
+++ b/compiler/cmm/Cmm.hs
@@ -3,7 +3,7 @@
 {-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
 
 {-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
 -- GHC 7.0.1 improved incomplete pattern warnings with GADTs
 {-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
 #endif
diff --git a/compiler/cmm/CmmNode.hs b/compiler/cmm/CmmNode.hs
index cf09b5b..f5a88ce 100644
--- a/compiler/cmm/CmmNode.hs
+++ b/compiler/cmm/CmmNode.hs
@@ -2,7 +2,7 @@
 {-# LANGUAGE GADTs #-}
 
 {-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
 -- GHC 7.0.1 improved incomplete pattern warnings with GADTs
 {-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
 #endif
diff --git a/compiler/cmm/CmmStackLayout.hs b/compiler/cmm/CmmStackLayout.hs
index c0fb6af..4c01a1a 100644
--- a/compiler/cmm/CmmStackLayout.hs
+++ b/compiler/cmm/CmmStackLayout.hs
@@ -6,7 +6,7 @@
 {-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
 
 {-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
 -- GHC 7.0.1 improved incomplete pattern warnings with GADTs
 {-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
 #endif



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to