| > Often the cause is some inlining or other optimisations 
| that put extra 
| > strain on gcc's register allocator, so it is usually best to try to 
| > track down and avoid these.
| 
| 7 modules of 52 in qforeign are affected. It's hard to avoid: 
| using FFI is often enough to cause the problem. It's annoying 
| that the compiler can't figure out itself how it should 
| compile things and I must mark modules explicitly, and that 
| what should be marked depends on versions of compilers and 
| options, so even if it works in some environment it can break 
| in another.

Alternatively, can you use the native code generator  (-O -fasm-x86) ?
It cannot compile everything, but at least it will not die with
reg-alloc failures.  We are working to enhance the native code
generator(s) so that you can compile absolutely anything with
them (except casm :)

J

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to