[GHC] #13056: Deriving Foldable causes GHC to take a long time (GHC 8.0 ONLY)

GHC ghc-devs at haskell.org
Thu Jan 26 14:27:50 UTC 2017


#13056: Deriving Foldable causes GHC to take a long time (GHC 8.0 ONLY)
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:
            Type:  bug               |               Status:  merge
        Priority:  normal            |            Milestone:  8.0.3
       Component:  Compiler          |              Version:  8.0.2-rc2
      Resolution:                    |             Keywords:  deriving-perf
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Compile-time      |            Test Case:
  performance bug                    |  perf/compiler/T13056
      Blocked By:                    |             Blocking:
 Related Tickets:  #12234            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by EyalLotem):

 Much smaller example that reproduces the issue:

 {{{
 data A a = A (B a) (B a) deriving (Functor)
 data B a = B (A a) deriving (Functor)
 }}}

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


More information about the ghc-tickets mailing list