Repository : ssh://darcs.haskell.org//srv/darcs/packages/bytestring

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/35d921706a599b7ebede886f3fe4bf2a7d53b1cc

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

commit 35d921706a599b7ebede886f3fe4bf2a7d53b1cc
Author: Duncan Coutts <[email protected]>
Date:   Sun Nov 6 18:11:18 2011 +0000

    Drop unnecessary -funbox-strict-fields and set -fspec-constr-count
    We use the UNPACK pragma explicitly in the couple places
    where we use strict fields.

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

 bytestring.cabal |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/bytestring.cabal b/bytestring.cabal
index 8f71839..adedfab 100644
--- a/bytestring.cabal
+++ b/bytestring.cabal
@@ -63,9 +63,10 @@ library
   --TODO: eliminate orphan instances:
   ghc-options:      -Wall -fno-warn-orphans
                     -O2
-                    -funbox-strict-fields 
-                    -fmax-simplifier-iterations10
+                    -fmax-simplifier-iterations=10
                     -fdicts-cheap
+  if impl(ghc >= 6.10)
+    ghc-options:    -fspec-constr-count=6
 
   c-sources:         cbits/fpstring.c
   include-dirs:      include



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

Reply via email to