logo       

RE: Strict Word64 Compiler Panic: msg#00018

lang.haskell.glasgow.bugs

Subject: RE: Strict Word64 Compiler Panic


> Let Crash.hs be:
>
> module Crash where
> import Data.Word (Word64)
> data S = S { a :: ! Word64 }
> s :: S
> s = S { a = 0 }
>
> Then:
>
> (mbs@emae) ghci-5.04 -fglasgow-exts
> ___ ___ _
> / _ \ /\ /\/ __(_)
> / /_\// /_/ / / | | GHC Interactive, version 5.04, for
> Haskell 98.
> / /_\\/ __ / /___| | http://www.haskell.org/ghc/
> \____/\/ /_/\____/|_| Type :? for help.
>
> Loading package base ... linking ... done.
> Loading package haskell98 ... linking ... done.
> Prelude> :l Crash
> Compiling Crash ( Crash.hs, interpreted )
> ghc-5.04: panic! (the `impossible' happened, GHC version 5.04):
> ByteCodeGen.mkUnpackCode LW_

Thanks for the report. This is now fixed in CVS, but the fixes are too
difficult to unpick from other changes in GHCi so we probably won't
back-port the fix to the 5.04 branch.

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise