[GHC] #12367: Commit adding instances to GHC.Generics regression compiler performance

GHC ghc-devs at haskell.org
Tue Jul 19 06:09:24 UTC 2016


#12367: Commit adding instances to GHC.Generics regression compiler performance
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  bgamari
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  Generics
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2411
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 One thing I also noticed while debugging this is that the
 `relevantBindings` logic in `TcErrors` appears to pull in `GHC.Generics`
 when generating an error, even when no relevant bindings are shown in the
 resulting message (and even with `-fmax-relevant-binds=0`). Judging from
 the comments surrounding `relevantBindings`, it sounds like this is
 expected behavior but I thought I'd mention it anyways.

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


More information about the ghc-tickets mailing list