Jan Laitenberger <[EMAIL PROTECTED]> writes: > > We use a small Avl module in our compiler project. GHC 4.00 > crashes with the error message "unimplemented check" when > compiling with > > ghc -c -O -H45M Avl.hs > > - but > > ghc -c -H45M Avl.hs and > ghc -c -O2 -H45M Avl.hs > > will compile without error messages. > > Why? > There's a couple of heap checks that are unimplemented by the native code generator, hence the crash. For now, turn off the use of the native code generator and compile with -fvia-C instead. (which is what -O2 does.) --Sigbjorn
RE: GHC-4.00 "unimplemented check"
Sigbjorn Finne (Intl Vendor) Tue, 20 Oct 1998 09:15:52 +0200 (MET DST)
- GHC-4.00 "unimplemented check" Jan Laitenberger
- Sigbjorn Finne (Intl Vendor)