#5234: The parListWHNF optimisation isn't
--------------------------------+-------------------------------------------
Reporter: duncan | Owner: simonmar
Type: bug | Status: closed
Priority: high | Milestone: 7.4.1
Component: libraries (other) | Version: 7.1
Resolution: worksforme | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
--------------------------------+-------------------------------------------
Changes (by simonmar):
* status: new => closed
* resolution: => worksforme
Comment:
Seems to work with 7.0.3, 7.2.1, and with HEAD:
{{{
$ ghc-7.2.1 -ddump-rule-firings -O2 parlist.hs -threaded -fforce-recomp
-rtsopts
[1 of 1] Compiling Main ( parlist.hs, parlist.o )
Rule fired: Class op enumFromTo
Rule fired: parList/rseq
Rule fired: SPEC Data.List.sum
Rule fired: Class op show
Rule fired: enumDeltaToInteger
Rule fired: >=#
Linking parlist ...
}}}
I've checked that we get the dud sparks as required, and the `parBuffer`
rule also works.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5234#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