[project @ 2002-09-05 16:26:33 by simonmar]
authorsimonmar <unknown>
Thu, 5 Sep 2002 16:26:33 +0000 (16:26 +0000)
committersimonmar <unknown>
Thu, 5 Sep 2002 16:26:33 +0000 (16:26 +0000)
commit8435b2e4f149d969d0c19b01c9d8ca7fef392aa4
tree78b19b31c42d2bae813e7b804d0c59f2d7310c11
parent5ac854ef908d3f93164bad991b18944fc3a9db35
[project @ 2002-09-05 16:26:33 by simonmar]
Fix for infinite loop when there is a THUNK_SELECTOR which eventually
refers to itself, such as might be generated by code like

let x = (fst x, snd x) in ...

At the same time, I re-enabled the code to traverse multiple selector
thunks with bounded depth, because I believe it now works.

MERGE TO STABLE (but test thoroughly in the HEAD first, this is
fragile stuff)
ghc/rts/GC.c