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

GHC ghc-devs at haskell.org
Sun Sep 7 13:41:39 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 jystic):

 I just ran in to this problem using the protobuf library with GHC 7.8.3,
 it seems that the constant limit has been changed back to 20?

 Compiling with -fcontext-stack=37 solves the problem in my case.

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


More information about the ghc-tickets mailing list