#4345: Compiler crash building regex-posix version 0.94.1 using ghc 7.0.1-rc1
-------------------------+--------------------------------------------------
Reporter: dsf | Owner: simonpj
Type: bug | Status: new
Priority: highest | Milestone: 7.0.1
Component: Compiler | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86 | Failure: Compile-time crash
-------------------------+--------------------------------------------------
Comment(by simonpj):
Thanks for the test case! I've boiled it down a lot more.
{{{
module Wrap where
isNull :: IO Bool
isNull = error "urk"
wrapMatchAll :: IO (Maybe ())
wrapMatchAll = do
nsub <- undefined
let loop True = do atEnd <- isNull
return Nothing
loop False = loop False
result <- undefined
loop undefined
}}}
It's a bug in the mighty simplifier. I'm on it.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4345#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs