[GHC] #5970: Type checker hangs

GHC cvs-ghc at haskell.org
Tue Mar 27 09:23:51 CEST 2012


#5970: Type checker hangs
----------------------------------------+-----------------------------------
    Reporter:  Lemming                  |       Owner:                              
        Type:  bug                      |      Status:  new                         
    Priority:  normal                   |   Milestone:                              
   Component:  Compiler (Type checker)  |     Version:  7.4.1                       
    Keywords:                           |          Os:  Linux                       
Architecture:  x86                      |     Failure:  Compile-time performance bug
  Difficulty:  Unknown                  |    Testcase:                              
   Blockedby:                           |    Blocking:                              
     Related:                           |  
----------------------------------------+-----------------------------------
Changes (by simonpj):

 * cc: dimitris@… (added)
  * difficulty:  => Unknown


Comment:

 I already observed that repeating a function definition n times does not
 multiply the type checking by n but it needs considerably more time. I
 think this can be considered a bug.

 Can you give a reproducible test case for that?  Will also try to look at
 your full example, but the cut-down versions are MUCH MUCH easier to deal
 with.   As it happens Dimitrios and I are back to looking at the
 constraint solver at the moment, so the timing is good.  In general, if
 you can isolate any places where performance is unexpectedly non-linear,
 we'd love to know.  Thanks.

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



More information about the Glasgow-haskell-bugs mailing list