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

GHC ghc-devs at haskell.org
Mon Feb 6 21:50:17 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):

 I do wonder whether `collect_args` is being too conservative here: it will
 only look through ticks where `tickishPlace tickish == PlaceNonLam &&
 tickish `tickishScopesLike` SoftScope`. Even in the most restrictive tick
 placement type (`PlaceRuntime`) we allow ticks to be floated through type
 lambdas. Perhaps `collect_args` should continue to look through ticks, so
 long as there are no value-applications inside?

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


More information about the ghc-tickets mailing list