"Manuel M. T. Chakravarty" <[EMAIL PROTECTED]> wrote,
> If I link
>
> import Addr (Addr, nullAddr)
>
> foreign import ccall "foo" foo :: Int -> Addr -> IO ()
>
> main = foo (id 32) nullAddr
>
> with
>
> void foo (int x, char *y)
> {
> printf ("foo: x = %d; y = %xl\n", x, (long)
Thanks for the report. Yep, the 4.01 code generator doesn't
generate correct code for _casm_GC_ expressions. This bug
was fixed some time ago (and will be included in 4.02)
It's available via the CVS repository should you depend
on having a working _ccall_GC_ impl right now though.
--Sigbjorn
>
"Sigbjorn Finne (Intl Vendor)" <[EMAIL PROTECTED]> wrote,
> Thanks for the report. Yep, the 4.01 code generator doesn't
> generate correct code for _casm_GC_ expressions. This bug
> was fixed some time ago (and will be included in 4.02)
> It's available via the CVS repository should you depend
>
Manuel M. T. Chakravarty <[EMAIL PROTECTED]> writes:
>
> "Sigbjorn Finne (Intl Vendor)" <[EMAIL PROTECTED]> wrote,
>
> > Thanks for the report. Yep, the 4.01 code generator doesn't
> > generate correct code for _casm_GC_ expressions. This bug
> > was fixed some time ago (and will be included i
"Manuel M. T. Chakravarty" <[EMAIL PROTECTED]> wrote,
> "Sigbjorn Finne (Intl Vendor)" <[EMAIL PROTECTED]> wrote,
>
> > Thanks for the report. Yep, the 4.01 code generator doesn't
> > generate correct code for _casm_GC_ expressions. This bug
> > was fixed some time ago (and will be included in 4