Hi

I wonder if this is related to the reason that optimization is turned
off for certain files (search for "Modules to be compiled without
optimization" in src/Makefile.in).  During the static analysis and type
checking phases, the mark phase of the Hugs garbage collector also looks
for cells on the C stack (this is omitted during evaluation, because
all the primitives are carefully written to ensure that everything is
reachable from the Hugs stack).  Optimization may obscure these cell
references, which would certainly cause crashes.

Oh, I had no idea that optimisation was turned off for certain files -
with the Windows build its turned on for all files. I guess if
something is that sensitive to optimisation, the Windows compiler
could be doing anything to it...

Thanks

Neil
_______________________________________________
Hugs-Bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to