patch applied (ghc-7.0/ghc): Fix an egregious strictness analyser bug (Trac #4924)
igloo at earth.li
Wed Feb 2 23:29:44 CET 2011
Fri Jan 28 00:07:48 PST 2011 simonpj at microsoft.com
* Fix an egregious strictness analyser bug (Trac #4924)
The "virgin" flag was being threaded rather than treated
like an environment. As a result, the second and subsequent
recursive definitions in a module were not getting a
correctly-initialised fixpoint loop, causing much worse
strictness analysis results. Indeed the symptoms in
Trac #4924 were quite bizarre.
Anyway, it's easily fixed. Merge to stable branch.
M ./compiler/stranal/DmdAnal.lhs -106 +123
View patch online:
More information about the Cvs-ghc