[GHC] #3990: UNPACK doesn't unbox data families

GHC cvs-ghc at haskell.org
Wed Apr 14 09:59:56 EDT 2010


#3990: UNPACK doesn't unbox data families
---------------------------------+------------------------------------------
    Reporter:  rl                |       Owner:                         
        Type:  bug               |      Status:  new                    
    Priority:  normal            |   Component:  Compiler               
     Version:  6.13              |    Keywords:                         
          Os:  Unknown/Multiple  |    Testcase:                         
Architecture:  Unknown/Multiple  |     Failure:  Runtime performance bug
---------------------------------+------------------------------------------

Comment(by rl):

 FWIW, this isn't getting unpacked, either:

 {{{
 data Complex a where
   CD :: {-# UNPACK #-} !Double -> {-# UNPACK #-} !Double -> Complex Double

 data T = T {-# UNPACK #-} !(Complex Double)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3990#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list