"Unable to find a register to spill in class `SIREG'."
Julian Seward (Intl Vendor)
v-julsew at microsoft.com
Mon Dec 3 10:47:27 EST 2001
| > 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
More information about the Glasgow-haskell-bugs
mailing list