#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
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to