emitPrimOp: can't translate PrimOp
Affected HEAD (GHC version 8.5.20180506)
Reproduce:
ghc -O bug.hs
Log:
[1 of 1] Compiling Main ( bug.hs, bug.o )
ghc: panic! (the 'impossible' happened)
(GHC version 8.5.20180506 for x86_64-unknown-linux):
emitPrimOp: can't translate PrimOp
byteArrayContents#
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/utils/Outputable.hs:1162:37 in ghc:Outputable
pprPanic, called at compiler/codeGen/StgCmmPrim.hs:943:12 in ghc:StgCmmPrim
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field | Value |
---|---|
Version | 8.5 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |