[GHC] #13233: typePrimRep panic while compiling GHC with profiling

GHC ghc-devs at haskell.org
Mon Feb 6 20:02:32 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... So we are calling (correctly) `cpeEtaExpand 2 (#,#)` yet
 somehow getting back,
 {{{#!hs
   \ (@ (k0_10 :: RuntimeRep))
     (@ (k1_11 :: RuntimeRep))
     (@ (a_12 :: TYPE k0))
     (@ (b_13 :: TYPE k1)) ->
     (#,#) @ k0 @ k1 @ a @ b
 }}}
 Which most certainly does not have two value-level lambdas. Hmmm.

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


More information about the ghc-tickets mailing list