[MLton] Re: Bytecode misses function call?

Wesley W. Terpstra wesley at terpstra.ca
Mon Sep 22 03:33:35 PDT 2008


Sorry for the half-written send!

On Mon, Sep 22, 2008 at 12:30 PM, Wesley W. Terpstra <wesley at terpstra.ca>wrote:

> In testing library support I've run into what appears to be a bug in the
> bytecode codegen. You can see this problem for yourself (only on amd64)
> with:
>   cd regression/library
>   ./library-test -codegen bytecode -debug true -keep g
>

The check program will segfault. Tracing it with gdb reveals that check.sml
calls 'checkconfirmC' (line 31) before it calls 'm5_open' (line 2). It seems
to me that this is an error in the bytecode codegen.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mlton.org/pipermail/mlton/attachments/20080922/24a42f51/attachment.html


More information about the MLton mailing list