cvs commit: fptools/ghc/rts PrimOps.hc
Simon Marlow
simonmar@glass.cse.ogi.edu
Tue, 29 Jan 2002 06:41:54 -0800
simonmar 2002/01/29 06:41:54 PST
Modified files:
ghc/rts PrimOps.hc
Log:
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').
Revision Changes Path
1.90 +2 -2 fptools/ghc/rts/PrimOps.hc