#7284: plusAddr# x 0 isn't optimised away
---------------------------------+------------------------------------------
    Reporter:  rl                |       Owner:  igloo                  
        Type:  bug               |      Status:  new                    
    Priority:  high              |   Milestone:  7.8.1                  
   Component:  Compiler          |     Version:  7.6.1                  
    Keywords:                    |          Os:  Unknown/Multiple       
Architecture:  Unknown/Multiple  |     Failure:  Runtime performance bug
  Difficulty:  Unknown           |    Testcase:                         
   Blockedby:                    |    Blocking:                         
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by ian@…):

 commit b09352165101afb1d5f502350664dfc7a5bba10c
 {{{
 Author: Ian Lynagh <i...@well-typed.com>
 Date:   Sun Oct 21 14:48:29 2012 +0100

     Add a rule for (plusAddr# x 0) == x; fixes #7284

  compiler/prelude/PrelRules.lhs |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7284#comment:4>
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