patch applied (ghc): Fix case-merge bug that was breaking the HEAD
Simon Peyton Jones
simonpj at microsoft.com
Wed Feb 21 04:15:32 EST 2007
Wed Feb 21 01:11:23 PST 2007 simonpj at microsoft.com
* Fix case-merge bug that was breaking the HEAD
My re-org of the case-merging transformation introduced a bug, which led
to incorrect code. This only showed up occasionally, but it generated
incorrect code for PprC.pprCastReg in the stage-2 compiler. As a result
the stage-2 compiler ran without crashing, but itself generated bogus C.
For a change, this is one that Core Lint couldn't find, so the trail was
a bit longer. The fix is easy (and commented).
M ./compiler/simplCore/SimplUtils.lhs -7 +16
More information about the Cvs-ghc
mailing list