[GHC] #13233: typePrimRep panic while compiling GHC with profiling
GHC
ghc-devs at haskell.org
Mon Feb 6 20:27:14 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):
Interesting, the tidy core shows,
{{{#!hs
-- RHS size: {terms: 1, types: 4, coercions: 0}
StgCmmMonad.$fHasDynFlagsFCode2
:: CgInfoDownwards -> CgState -> (# CgInfoDownwards, CgState #)
[GblId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=False, ConLike=False,
WorkFree=False, Expandable=False, Guidance=IF_ARGS [] 0 10}]
StgCmmMonad.$fHasDynFlagsFCode2 =
ghc-prim-0.5.0.0:GHC.Prim.(#,#)
@ 'ghc-prim-0.5.0.0:GHC.Types.LiftedRep
@ 'ghc-prim-0.5.0.0:GHC.Types.LiftedRep
@ CgInfoDownwards
@ CgState
}}}
Which we would have been able to eta expand without any trouble. It must
be something in CorePrep that is gumming up the works.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13233#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list