#5635: compiling iteratee with llvm backend fails with panic
---------------------------------+------------------------------------------
Reporter: jwlato | Owner: dterei
Type: bug | Status: new
Priority: normal | Component: Compiler (LLVM)
Version: 7.2.1 | Keywords: llvm, LlvmMangler, panic
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Compile-time crash
---------------------------------+------------------------------------------
Comment(by dterei):
|| OS | Arch | GHC | LLVM | Status ||
|| OSX 10.7 | 64 | 7.2.1 | 2.9 | Works ||
|| OSX 10.7 | 64 | 7.2.1 | 3.0 | Works ||
|| OSX 10.7 | 32 | 7.2.1 | 2.9 | Works ||
|| OSX 10.7 | 32 | 7.2.1 | 3.0 | Works ||
|| OSX 10.7 | 32 | 7.0.4 | 2.9 | Fails (mangler) ||
|| OSX 10.7 | 32 | 7.0.4 | 3.0 | Fails (llvm version unsupported) ||
So strangely I don't get a failure with 7.2.1 and I'm not aware of any
change in 7.2.2 that should cause it. In GHC 7.0.4 I get the same failure
{{{
ghc: panic! (the 'impossible' happened)
(GHC version 7.0.4 for i386-apple-darwin):
LLvmMangler Cannot read"\nLBB147_10:
## %n3xZe\n\tmovzbl\t%cl"as it's not an Int
}}}
I'll grab 7.2.2 and test to confirm.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5635#comment:2>
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