Simplifier and optimization flags
compiling
>module Parse where
>
>import Parsec
>
>whiteSpace = skipMany1 (oneOf " ")
>
or
>module Parse where
>
>import Parsec
>
>ttoken :: Parser TToken
>ttoken = do { ; return TIf }
>
>data TToken = TIf
via
ghc -O2 -funbox-strict-fields
-funfolding-use-threshold30 -package text -c Parse.hs
-o Parse.o
results both times in
ghc-5.00.1: panic! (the `impossible' happened, GHC
version 5.00.1):
simplCore/Simplify.lhs:1468: Non-exhaustive patterns
in function cat_evals
removing any option compiles.
(the latter also complains about some bad eta expands)
i'm using the linux version distributed from the ghc
homepage.
Trac metadata
Trac field |
Value |
Version |
5.0 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedWon'tFix |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|