#3744: Comparisons against minBound/maxBound not optimised
--------------------------------------+-------------------------------------
  Reporter:  rl                       |          Owner:                  
      Type:  bug                      |         Status:  closed          
  Priority:  normal                   |      Milestone:  7.2.1           
 Component:  Compiler                 |        Version:  6.13            
Resolution:  fixed                    |       Keywords:                  
  Testcase:                           |      Blockedby:                  
Difficulty:                           |             Os:  Unknown/Multiple
  Blocking:                           |   Architecture:  Unknown/Multiple
   Failure:  Runtime performance bug  |  
--------------------------------------+-------------------------------------

Comment(by simonpj):

 The optimisation seems ok, but does this situation ever arise in practice?
 Who asks `x < minBound`?

 Simon

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to