#4081: Strict constructor fields inspected in loop
---------------------------------+------------------------------------------
Reporter: rl | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.0.2
Component: Compiler | Version: 6.13
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Runtime performance bug
---------------------------------+------------------------------------------
Comment(by simonpj):
Here's a simpler example:
{{{
data T a = T !a
foo :: T Int -> Int -> Int
foo (T x) y = letrec blah 0 = 0
blah n = x + blah (n-1)
in blah y
}}}
However Roman says that although doing the unboxing correctly is obviously
the "right thing", it's no longer important for DPH.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4081#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs