[GHC] #5395: Context reduction stack overflow without undecidable instances

GHC ghc-devs at haskell.org
Tue Sep 9 10:57:52 UTC 2014


#5395: Context reduction stack overflow without undecidable instances
-------------------------------------+-------------------------------------
              Reporter:  guest       |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.0.4
            Resolution:              |         Keywords:  type family,
      Operating System:              |  termination
  Unknown/Multiple                   |     Architecture:  Unknown/Multiple
       Type of failure:  GHC         |       Difficulty:  Unknown
  rejects valid program              |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 We now have `-fcontext-stack=N` (for type classes) and `-ftype-function-
 depth=N` (for type functions).  I suspect that when splitting the two we
 put the type-class one back to 20.

 I'll increase it to 100.

 Simon

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


More information about the ghc-tickets mailing list