the impossible happened: splitTyConApp

Simon Peyton-Jones simonpj at microsoft.com
Wed Jun 14 07:18:06 EDT 2006


A nice bug report, thank you.  Turns out to be an obscure GADT case, and
another reason for switching to System FC.

I've fixed the STABLE branch, but I won't fix the HEAD because we're
about to move to FC so it seems hardly worth it.

BUT if we release the HEAD before the FC switch, we should apply the
patch from the STABLE branch.

Meanwhile, as a workaround, compile without -O.  Or even just compile
Vector.Fast without -O

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces at haskell.org
[mailto:glasgow-haskell-bugs-bounces at haskell.org]
| On Behalf Of Frederik Eaton
| Sent: 11 June 2006 17:33
| To: glasgow-haskell-bugs at haskell.org
| Subject: the impossible happened: splitTyConApp
| 
| Hi,
| 
| $ ghc -O3 --make LearnBinFactors.hs -package GSL -o lbf
| Chasing modules from: LearnBinFactors.hs
| Compiling Main             ( LearnBinFactors.hs, LearnBinFactors.o )
| ghc-6.4.2: panic! (the `impossible' happened, GHC version 6.4.2):
|         splitTyConApp a{tv a8EX}
| 
| I've attached the program LearnBinFactors.hs.
| 
| The version of the GSL package which it uses can be downloaded from:
| 
| http://ofb.net/~frederik/GSLHaskell2.tar.gz
| 
| Frederik
| 
| --
| http://ofb.net/~frederik/
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



More information about the Glasgow-haskell-bugs mailing list