Thu May  6 09:33:37 PDT 2010  [email protected]
  * Fix Trac #3966: warn about useless UNPACK pragmas
  
  Warning about useless UNPACK pragmas wasn't as easy as I thought.
  I did quite a bit of refactoring, which improved the code by refining
  the types somewhat.  In particular notice that in DataCon, we have
  
      dcStrictMarks   :: [HsBang]
      dcRepStrictness :: [StrictnessMarks]
  
  The former relates to the *source-code* annotation, the latter to
  GHC's representation choice.

    M ./compiler/basicTypes/BasicTypes.lhs -14 +37
    M ./compiler/basicTypes/DataCon.lhs -14 +15
    M ./compiler/basicTypes/MkId.lhs -14 +12
    M ./compiler/hsSyn/HsTypes.lhs -11
    M ./compiler/iface/BinIface.hs -7 +9
    M ./compiler/iface/BuildTyCl.lhs -2 +2
    M ./compiler/iface/IfaceSyn.lhs -2 +5
    M ./compiler/iface/MkIface.lhs +18
    M ./compiler/main/PprTyThing.hs -6 +2
    M ./compiler/parser/Parser.y.pp -1 +1
    M ./compiler/prelude/TysWiredIn.lhs -3 +2
    M ./compiler/typecheck/TcExpr.lhs -3 +3
    M ./compiler/typecheck/TcSplice.lhs -4 +3
    M ./compiler/typecheck/TcTyClsDecls.lhs -22 +44
    M ./compiler/vectorise/VectType.hs -3 +3

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100506163337-1287e-df67ecb19b228ee43e6ac058bb3487ad7758e37c.gz

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

Reply via email to