Panic on generating Core code
STEPS TO REPRODUCE
- Create the file "Panic.hs" with the contents:
module Main where
main = print 1
- 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.
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Linux |
Architecture | x86_64 (amd64) |