[commit: ghc] master: Get label calculations right when we have long (>16 bits) offsets (f6fb053)

Simon Marlow marlowsd at gmail.com
Wed Nov 2 17:40:15 CET 2011


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/f6fb053ffd072d8d04fb9f2ab47eb1c9022f479e

>---------------------------------------------------------------

commit f6fb053ffd072d8d04fb9f2ab47eb1c9022f479e
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Wed Nov 2 10:19:33 2011 +0000

    Get label calculations right when we have long (>16 bits) offsets
    
    This shows up as a segfault in GHCi when there is a very large BCO.
    I've constructed a test case that crashes with 7.2.1, which I'll put
    in the testsuite as ghcirun004.

 compiler/ghci/ByteCodeAsm.lhs |  103 +++++++++++++++++++++++++++--------------
 1 files changed, 68 insertions(+), 35 deletions(-)


Diff suppressed because of size. To see it, use:

    git show f6fb053ffd072d8d04fb9f2ab47eb1c9022f479e



More information about the Cvs-ghc mailing list