> On Sun, Sep 30, 2001 at 03:29:44PM +0100, Ian Lynagh wrote:
> > 
> > $ ghc -O -fvia-C -O2-for-C -Wall -package lang -prof -auto 
> -c -o Tokens.o Tokens.lhs
> > $ ghc -O -fvia-C -O2-for-C -Wall -package lang -prof -auto 
> -c -o IA.o IA.lhs
> > ghc-5.00.2: panic! (the `impossible' happened, GHC version 5.00.2):
> >         Oversize heap check detected.  Please try compiling with -O.
> > 
> > Please report it as a compiler bug to 
> [EMAIL PROTECTED],
> > or http://sourceforge.net/projects/ghc/.
> 
> Just tried with 5.02 and the same thing happens:
> 
> ghc-5.02: panic! (the `impossible' happened, GHC version 5.02):
>         Oversize heap check detected.  Please try compiling with -O.

This is a known bug, but thanks for reporting it anyway.  The workaround
is as suggested, try compiling with -O.  It tends to happen particularly
when a module contains a large static data structure.

The problem is that this is a particularly nasty bug to fix - I've
already had one go at it and failed :-(  At least now the compiler
panics, it used to generate code that would go into an infinite loop!
We *will* get around to fixing it properly, probably sometime in the
next few months.

Cheers,
        Simon

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

Reply via email to