Core Lint Errors: in result of Simplifier phase 0, iteration 1 out of 4, ss_atJ is out of scope
b@brian:~/Work/lambdavm-nofib/real/parser$ ~/Work/ghc/compiler/ghc-inplace -O2 Main.hs
ghc-6.7: panic! (the 'impossible' happened)
(GHC version 6.7 for powerpc-apple-darwin):
initC: srt
b@brian:~/Work/lambdavm-nofib/real/parser$ ~/Work/ghc/compiler/ghc-inplace -O2 -dcore-lint -v Main.hs
(Lots of output snipped)
*** Core Lint Errors: in result of Simplifier phase 0, iteration 1 out of 4 ***
<no location info>:
In the expression: $slaLayout_s4qC ss_atJ
ss_atJ is out of scope
(More snipped output)
Works fine with just -O (instead of -O2) and with ghc-6.6 -O2.
Main.hs (attached) is right out of nofib/real/parser
There are a few other tickets mentioning "initC: srt". I'm not sure if they are related or if the code generator is just failing with the same error for different reasons.
Trac metadata
Trac field | Value |
---|---|
Version | 6.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Multiple |
Architecture | Multiple |