patch applied (ghc-6.8/ghc): Fix Trac #1988;
keep the ru_fn field of a RULE up to date
Ian Lynagh
igloo at earth.li
Sat Jan 5 12:37:32 EST 2008
Thu Dec 20 05:19:12 PST 2007 simonpj at microsoft.com
* Fix Trac #1988; keep the ru_fn field of a RULE up to date
The ru_fn field was wrong when we moved RULES from one Id to another.
The fix is simple enough.
However, looking at this makes me realise that the worker/wrapper stuff
for recursive newtypes isn't very clever: we generate demand info but
then don't properly exploit it.
This patch fixes the crash though.
M ./compiler/basicTypes/IdInfo.lhs -4 +12
M ./compiler/simplCore/SimplCore.lhs -3 +6
M ./compiler/simplCore/Simplify.lhs -1 +1
More information about the Cvs-ghc
mailing list