#5576: Fix to #5549 breaks integerConstantFolding
----------------------------------+-----------------------------------------
    Reporter:  daniel.is.fischer  |        Owner:  simonpj     
        Type:  bug                |       Status:  new         
    Priority:  highest            |    Milestone:  7.4.1       
   Component:  Compiler           |      Version:  7.3         
    Keywords:                     |     Testcase:              
   Blockedby:                     |   Difficulty:              
          Os:  Linux              |     Blocking:              
Architecture:  Unknown/Multiple   |      Failure:  None/Unknown
----------------------------------+-----------------------------------------

Comment(by simonpj@…):

 commit a1448ec2f8a50c76ec13bb61cb7bc87e7f7f101c
 {{{
 Author: Simon Peyton Jones <[email protected]>
 Date:   Mon Oct 24 18:05:42 2011 +0100

     Make the matching in PrelRules "look through" unfoldings

     This is important for Integer literals; fixes Trac #5576

  compiler/coreSyn/CoreSubst.lhs  |   18 +++++++++++++-
  compiler/coreSyn/CoreUnfold.lhs |    2 +-
  compiler/prelude/PrelRules.lhs  |   50
 ++++++++++++++++++++++++--------------
  3 files changed, 49 insertions(+), 21 deletions(-)
 }}}

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