#4978: Continuation passing style loop doesn't compile into a loop ---------------------------------+------------------------------------------ Reporter: tibbe | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.4.1 Component: Compiler | Version: 7.0.1 Keywords: | Testcase: Blockedby: | Difficulty: Os: Unknown/Multiple | Blocking: Architecture: Unknown/Multiple | Failure: None/Unknown ---------------------------------+------------------------------------------
Comment(by tibbe): The current HEAD now generates good core for `Repro3.hs`, thanks to Simon Marlow. However, I've attached a more difficult (but real life) test case that still causes a closure to be allocated each time around the loop. The main difference from `Repro3.hs` is that we now write four bytes at the time, increasing the size of the loop body a little bit. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4978#comment:20> 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