[GHC] #13233: typePrimRep panic while compiling GHC with profiling
GHC
ghc-devs at haskell.org
Mon Feb 6 18:15:48 UTC 2017
#13233: typePrimRep panic while compiling GHC with profiling
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 8.2.1
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
It looks like this binding from the Core Prep output is the culprit,
{{{
-- RHS size: {terms: 8, types: 27, coercions: 0}
StgCmmMonad.$fHasDynFlagsFCode2
:: StgCmmMonad.CgInfoDownwards
-> StgCmmMonad.CgState
-> (# StgCmmMonad.CgInfoDownwards, StgCmmMonad.CgState #)
[GblId]
StgCmmMonad.$fHasDynFlagsFCode2 =
case \ (@ (k0_10 :: GHC.Types.RuntimeRep))
(@ (k1_11 :: GHC.Types.RuntimeRep))
(@ (a_12 :: TYPE k0))
(@ (b_13 :: TYPE k1)) ->
GHC.Prim.(#,#) @ k0 @ k1 @ a @ b
of sat_skkE
{ __DEFAULT ->
sat_skkE
@ 'GHC.Types.LiftedRep
@ 'GHC.Types.LiftedRep
@ StgCmmMonad.CgInfoDownwards
@ StgCmmMonad.CgState
}
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13233#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list