logo       

[GHC] #685: Panic splitTyConApp a{tv a1nD} when dealing with GADTs in optim: msg#00022

lang.haskell.glasgow.bugs

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

#685: Panic splitTyConApp a{tv a1nD} when dealing with GADTs in optimizing mode
----------------------------------+-----------------------------------------
Reporter: alcremi@xxxxxxxxx | 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_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise