patch applied (ghc): Buggy optimizations caused function-call return to share the function's entry point

John Dias dias at eecs.harvard.edu
Fri Apr 3 16:56:07 EDT 2009


Tue Mar 31 07:46:39 PDT 2009  dias at eecs.tufts.edu
  * Buggy optimizations caused function-call return to share the function's entry point
  - Block concat and branch-chain elimination were allowing a function call
    to return to the caller's entry point. But that doesn't leave anywhere
    for the infotable on the stack, since the SP on return must be the same
    as the SP on entry to the procedure.

    M ./compiler/cmm/CmmContFlowOpt.hs -25 +50

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090331144639-38771-196ef65a3ee988f10c8acbbe04d60c70e8c355b9.gz



More information about the Cvs-ghc mailing list