Skip to content

the "impossible happened" while building regex-posix-0.94.4 with GHC 7

Here's the output...

Configuring regex-posix-0.94.4... Preprocessing library regex-posix-0.94.4... Building regex-posix-0.94.4... [1 of 6] Compiling Text.Regex.Posix.Wrap ( dist/build/Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.o ) SpecConstr

Function `lvl_s2xM{v} [lid]'

has three call patterns, but the limit is 0

Use -fspec-constr-count=n to set the bound

Use -dppr-debug to see specialisations

ghc: panic! (the 'impossible' happened)

(GHC version 7.0.0.20100924 for x86_64-unknown-linux):

initC: srt_lbl

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

By the way: I got lots of the "SpecConstr" warnings while building other packages.

Trac metadata
Trac field Value
Version 7.0.1 RC1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information