[Haskell-cafe] Bug in GC's ordering of ForeignPtr finalization?

Ben Gamari bgamari.foss at gmail.com
Mon Aug 29 05:47:31 CEST 2011

On Sun, 28 Aug 2011 22:26:05 -0500, Antoine Latter <aslatter at gmail.com> wrote:
> One problem you might be running in to is that the optimization passes
> can notice that a function isn't using all of its arguments, and then
> it won't pass them. These even applies if the arguments are bound
> together in a record type.
In this case I wouldn't be able to reproduce the problem with
optimization disabled, no? Unfortunately, this is not the case; the
problem persists even with -O0.

- Ben

More information about the Haskell-Cafe mailing list