[GHC] #5653: "throw" in IO monad is incorrectly optimized away

GHC cvs-ghc at haskell.org
Sun Nov 27 09:48:16 CET 2011


#5653: "throw" in IO monad is incorrectly optimized away
------------------------------------------+---------------------------------
  Reporter:  quark                        |          Owner:                  
      Type:  bug                          |         Status:  closed          
  Priority:  normal                       |      Milestone:                  
 Component:  Compiler                     |        Version:  6.12.3          
Resolution:  fixed                        |       Keywords:                  
  Testcase:                               |      Blockedby:                  
Difficulty:                               |             Os:  Unknown/Multiple
  Blocking:                               |   Architecture:  Unknown/Multiple
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by michalt):

  * status:  infoneeded => closed
  * resolution:  => fixed


Comment:

 Replying to [comment:3 simonpj]:
 > Perhaps closing is premature, but I agree there is a Good Chance that
 it's already fixed.  Could you try with HEAD and let us know?  THANK YOU
 for reporting.

 I've just compiled the supplied program with HEAD (GHC 7.3.20111125) and
 it seems you're right:
 {{{
 Num elements before (expect 1): 1
 Main: Normal user error
 }}}
 So I'm closing the ticket.

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



More information about the Glasgow-haskell-bugs mailing list