[GHC] #685: Panic splitTyConApp a{tv a1nD} when dealing with GADTs in optimizing mode

GHC trac at galois.com
Tue Feb 7 17:15:29 EST 2006


#685: Panic splitTyConApp a{tv a1nD} when dealing with GADTs in optimizing mode
----------------------------------+-----------------------------------------
    Reporter:  alcremi at pobox.com  |        Owner:         
        Type:  bug                |       Status:  new    
    Priority:  normal             |    Milestone:         
   Component:  Compiler           |      Version:  6.4.1  
    Severity:  normal             |     Keywords:         
          Os:  Linux              |   Difficulty:  Unknown
Architecture:  x86                |  
----------------------------------+-----------------------------------------
I get the following panic (with *two* modules, because it works when the 2
 are merged) in optimising mode (-O):

 /usr/bin/ghc -c -Wall   -O  -i.  -fglasgow-exts  Operation.hs -o
 Operation.o
 /usr/bin/ghc -c -Wall   -O  -i.  -fglasgow-exts  Definition.hs -o
 Definition.o
 ghc-6.4.1: panic! (the `impossible' happened, GHC version 6.4.1):
         splitTyConApp a{tv a1nD}

 It is probably due to the GADTs being used in these modules.

 I have a stripped-down example, packaged in a tar.bz2, but I don't know
 how to attach it to this ticket

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


More information about the Glasgow-haskell-bugs mailing list