On Mon, Oct 01, 2001 at 09:39:51AM +0100, Simon Marlow wrote:
> > 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.

I *was* compiling with -O. IIRC the problem occured with any level of
optimisation I tried if and only if profiling was enabled.

Any other suggestions?

> It tends to happen particularly when a module contains a large static
> data structure.

This is indeed the case.


Thanks
Ian


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

Reply via email to