> Thu, 22 Nov 2001 10:09:17 -0000, Simon Marlow
> <[EMAIL PROTECTED]> pisze:
>
> > This is an error from the C compiler telling you it ran out
> of registers
> > while compiling the intermediate C. Try adding the -monly-3-regs
> > option, and failing that -monly-2-regs.
>
> With gcc-3.0.2 there are more cases like this. Would making
> -monly-3-regs the default be better?
That will likely hurt performance quite a bit (I don't have figures, but
I guess 10-20%). 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. Or use the native
code generator, if that's possible for the source file in question.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs