#5844: Panic on generating Core code
--------------------------------+-------------------------------------------
Reporter: JamesFisher | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.1 | Keywords:
Os: Linux | Architecture: x86_64 (amd64)
Failure: Compile-time crash | Testcase:
Blockedby: | Blocking:
Related: |
--------------------------------+-------------------------------------------
STEPS TO REPRODUCE
1. Create the file "Panic.hs" with the contents:
{{{
module Main where
main = print 1
}}}
2. Compile with "ghc -fext-core Panic.hs"
EXPECTED BEHAVIOR
Generation of the Core file "Panic.hcr".
ACTUAL BEHAVIOR
{{{
$ ghc -fext-core Panic.hs
[1 of 1] Compiling Main ( Panic.hs, Panic.o )
ghc: panic! (the 'impossible' happened)
(GHC version 7.4.1 for x86_64-unknown-linux):
MkExternalCore died: make_lit
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
$
}}}
As it states, I am using GHC version 7.4.1 for x86_64 Linux, on an x86-64
Linux box running Ubuntu 11.10 an Linux kernel 3.0.0-14-generic.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5844>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs