Sven Panne <[EMAIL PROTECTED]> writes:

> Compiling the brand-new Happy-1.2alpha with the not-so-brand-new-anymore
> ghc-2.04pl2 (Linux) with -O seems to loop in the Stg2Stg pass, consuming
> more and more memory:
> 
>    make -f Makefile.standalone HC="ghc -H60M -dshow-passes" OPT="-O"
>    [... everything is fine up to now ...]
>    rm -f Main.o
>    ghc -H60M -dshow-passes -c -O -cpp -fhaskell-1.3 -fglasgow-exts -H8M -hi-diffs 
>-Rghc-timing Main.lhs -o Main.o
>       ...
>    GHC's heap exhausted;
>    while trying to allocate 20 bytes in a 60000000-byte heap;
>    use the `-H<size>' option to increase the total heap size.
>    make: *** [Main.o] Error 1

He's right you know - I just reproduced this.  However, on a hunch I
added the -fno-update-analysis flag, and it went through fine.  Looks
like the update analyser has rotted again.

Cheers,
        Simon

-- 
Simon Marlow                                             [EMAIL PROTECTED]
University of Glasgow                       http://www.dcs.gla.ac.uk/~simonm/
finger for PGP public key

Reply via email to