Strict Word64 Compiler Panic
Simon Marlow
simonmar at microsoft.com
Thu Dec 12 10:53:52 EST 2002
> Let Crash.hs be:
>
> module Crash where
> import Data.Word (Word64)
> data S = S { a :: ! Word64 }
> s :: S
> s = S { a = 0 }
>
> Then:
>
> (mbs at 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
More information about the Glasgow-haskell-bugs
mailing list