Skip to content

GHC 6.8.1: Non-exhaustive patterns in function vectAlgCase, fixed in HEAD

When building the darcs ndp package (last rev Nov 23), I get this failure. Removing -fvectorise from Bools.hs allowed the package to compile. Indeed, this is fixed in HEAD (everything builds fine). This ticket is just to make sure the fix makes it into the next release.

Preprocessing library ndp-0.1...
Building ndp-0.1...
[...]
[72 of 75] Compiling Data.Array.Parallel.Prelude.Bool ( Data/Array/Parallel/Prelude/Bool.hs, dist/build/Data/Array/Parallel/Prelude/Bool.o )
ccTyCon: base:GHC.Base.Bool{(w) tc 3c}
ccTyCon: base:GHC.Base.Bool{(w) tc 3c}
ccTyCon: base:GHC.Base.Bool{(w) tc 3c}
ccTyCon: base:GHC.Base.Bool{(w) tc 3c}
ccTyCon: base:GHC.Base.Bool{(w) tc 3c}
ghc-6.8.1: panic! (the 'impossible' happened)
  (GHC version 6.8.1 for i386-unknown-linux):
        vectorise/Vectorise.hs:(303,0)-(327,78): Non-exhaustive patterns in function vectAlgCase


Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field Value
Version 6.8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Multiple
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information