[GHC] #14573: runtimeRepPrimRep panic when building GHC 8.2.2 with -fprof-auto-exported

#14573: runtimeRepPrimRep panic when building GHC 8.2.2 with -fprof-auto-exported -------------------------------------+------------------------------------- Reporter: luite | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 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: -------------------------------------+------------------------------------- When building GHC 8.2.2 with the following options in `build.mk`, the stage1 compiler panics when building `StgCmmMonad.p_o` {{{ SRC_HC_OPTS = -O -H64m GhcStage1HcOpts = -O GhcStage2HcOpts = -O2 -fprof-auto-exported GhcLibHcOpts = -O2 -fprof-auto-exported BUILD_PROF_LIBS = YES }}} {{{ ghc-stage1: panic! (the 'impossible' happened) (GHC version 8.2.2 for x86_64-unknown-linux): runtimeRepPrimRep typePrimRep (a_12 :: TYPE k0_10) k0_10 Call stack: CallStack (from HasCallStack): prettyCurrentCallStack, called at compiler/utils/Outputable.hs:1133:58 in ghc:Outputable callStackDoc, called at compiler/utils/Outputable.hs:1137:37 in ghc:Outputable pprPanic, called at compiler/simplStg/RepType.hs:360:5 in ghc:RepType Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} (tested on x86_64 linux with GHC 8.0.2 as bootstrap compiler) The GHC 8.4 branch doesn't appear to do this, but I'm not sure if the underlying problem has been fixed. Compiling only the `StgCmmMonad` module with `-fprof-auto-exported` does not trigger the panic -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14573 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14573: runtimeRepPrimRep panic when building GHC 8.2.2 with -fprof-auto-exported -------------------------------------+------------------------------------- Reporter: luite | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #13233 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => duplicate * related: => #13233 Comment: Indeed. Now that I bother to search Trac, it looks like this was already reported as #13233, so I'll close this as a duplicate. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14573#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC