[GHC] #15128: emitPrimOp: can't translate PrimOp

GHC ghc-devs at haskell.org
Mon May 7 04:37:15 UTC 2018


#15128: emitPrimOp: can't translate PrimOp
-------------------------------------+-------------------------------------
           Reporter:  tianxiaogu     |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Compiler       |           Version:  8.5
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 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
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15128>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list