|
[GHC] #826: Optimization breaks strictness with IO: msg#00053lang.haskell.glasgow.bugs
#826: Optimization breaks strictness with IO -------------------------------+-------------------------------------------- Reporter: aljee@xxxxxxxx | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 6.4.2 Severity: minor | Keywords: Os: Unknown | Difficulty: Unknown Architecture: Unknown | -------------------------------+-------------------------------------------- The following program fails with exception when compiled with -O0, but terminates successfully when compiled with -O. {{{ module Main(main) where import Control.Concurrent.MVar f l =undefined `seq` putStrLn "q" main = do mv <- newMVar () f () `seq` putStrLn "Hello" }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/826> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #824: overlapping instances and separate compilation, GHC |
|---|---|
| Next by Date: | GADTs and infix?, Conal Elliott |
| Previous by Thread: | crash building gtk2hs on win32 using ghc 6.5, Jason Dagit |
| Next by Thread: | Re: [GHC] #826: Optimization breaks strictness with IO, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |