[GHC] #9655: Do not UNPACK strict fields that are very wide
GHC
ghc-devs at haskell.org
Wed Oct 1 12:02:21 UTC 2014
#9655: Do not UNPACK strict fields that are very wide
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.3
Resolution: | Keywords:
Operating System: | Architecture: Unknown/Multiple
Unknown/Multiple | Difficulty: Unknown
Type of failure: | Blocked By:
None/Unknown | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by tibbe):
> should GHC auto-unpack a strict argument of a data constructor, if the
argument type is a very wide product type?
I'm confused. I don't think GHC does unpack strict fields unless either 1)
it's of pointer size or 2) you use `-funbox-strict-fields` or 3) you use
`UNPACK`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9655#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list