#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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to