[project @ 2002-01-29 14:41:52 by simonmar]
authorsimonmar <unknown>
Tue, 29 Jan 2002 14:41:52 +0000 (14:41 +0000)
committersimonmar <unknown>
Tue, 29 Jan 2002 14:41:52 +0000 (14:41 +0000)
commit5bed878be18b1c833e91d5bb335e58b5805bc762
treef0c38689c2ec8ba2cf1b6e8c206fe90ac3037f91
parentec269b1201dd73f6173d7d66ddbe2bbbc2244bf2
[project @ 2002-01-29 14:41:52 by simonmar]
Fix highly obscure bug.

The heap check in cmpIntegerzh_fast was erroneously passing
cmpIntegerIntzh_fast as the resumption point instead of
cmpIntegerzh_fast, with the result that if a heap-check happened to
strike in cmpIntegerzh_fast then we would end up resuming in
cmpIntegerIntzh and returning an incorrect comparison result.  One
symptom is that very occasionally floating point numbers would print
incorrectly (ending in an 'a').
ghc/rts/PrimOps.hc