#5304: Core lint failure in stage 3 build
---------------------------------+------------------------------------------
    Reporter:  simonmar          |        Owner:              
        Type:  bug               |       Status:  merge       
    Priority:  highest           |    Milestone:  7.2.1       
   Component:  Compiler          |      Version:  7.1         
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
Changes (by simonpj):

  * status:  new => merge


Comment:

 I have reason to believe I have fixed this, with
 {{{
 commit 0971055c2745b0cb2e167167ceb7a614ea5f8aca
 Author: Simon Peyton Jones <[email protected]>
 Date:   Thu Jul 21 12:54:51 2011 +0100

     Eta expand partial applications

     When we have
          x = \v -> map g
     we want to eta-expand to
          x = \v y -> map g y

     We weren't doing so, and that led to worse code and,
     perhaps, #5285.  I need to check the latter, but I
     was certainly seeing one similar error.  Anyway
     this looks like a definite improvement
 }}}
 It's so painful to reproduce the original that I'm just going to close and
 hope.

 pls merge though

 Simon

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