[GHC] #5773: main = forever (putStrLn =<< getLine) continuously saturates a CPU when compiled
GHC
cvs-ghc at haskell.org
Sun Jan 15 23:57:13 CET 2012
#5773: main = forever (putStrLn =<< getLine) continuously saturates a CPU when
compiled
-------------------------------+--------------------------------------------
Reporter: lpsmith | Owner: simonmar
Type: bug | Status: new
Priority: highest | Milestone: 7.4.1
Component: Compiler | Version: 7.4.1-rc1
Keywords: | Os: Linux
Architecture: x86_64 (amd64) | Failure: Runtime performance bug
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Comment(by lpsmith):
Oh, right, I didn't notice that the program I was writing when I ran into
this bug wasn't not being linked -threaded. And this problem does go
away when I do that. Thanks!
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5773#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list