[GHC] #5129: "evaluate" optimized away

GHC cvs-ghc at haskell.org
Wed May 4 12:05:29 CEST 2011


#5129: "evaluate" optimized away
---------------------------------+------------------------------------------
    Reporter:  dons              |        Owner:  simonmar                   
        Type:  bug               |       Status:  new                        
    Priority:  normal            |    Milestone:                             
   Component:  Compiler          |      Version:  7.0.3                      
    Keywords:  seq, evaluate     |     Testcase:                             
   Blockedby:                    |   Difficulty:                             
          Os:  Unknown/Multiple  |     Blocking:                             
Architecture:  Unknown/Multiple  |      Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------

Comment(by ezyang):

 I would like to understand this tradeoff better. I would like to be able
 to say "use evaluate whenever the IO monad is available" but it seems you
 might preclude some optimizations with this advice.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5129#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list