[project @ 2003-06-30 14:27:51 by simonpj]
-------------------
Fix a subtle GC bug
-------------------
In GHC 6.0, the top-level definition
f = g
gets compiled as a *non-updatable* THUNK_STATIC closure. Being non-updatable,
it gets only 1 payload field. Alas, the static-link field for a THUNK_STATIC
goes in the 3rd payload field. Disaster.
Solution: make such things updatable. This is probably good because it turns
f into an IND_STATIC, which gets shorted out. (Even better would be to allocate
an IND_STATIC in the first place.)