[GHC] #1168: nofib/spectral/calendar is mis-optimised

GHC trac at galois.com
Fri Feb 23 09:42:22 EST 2007


#1168: nofib/spectral/calendar is mis-optimised
-------------------------+--------------------------------------------------
    Reporter:  simonmar  |       Owner:                         
        Type:  bug       |      Status:  new                    
    Priority:  normal    |   Milestone:  6.6.2                  
   Component:  Compiler  |     Version:  6.6                    
    Severity:  normal    |    Keywords:                         
  Difficulty:  Unknown   |    Testcase:  nofib/spectral/calendar
Architecture:  Unknown   |          Os:  Unknown                
-------------------------+--------------------------------------------------
The simplifier is losing sharing in spectral/calendar, probably because
 we're being a bit fast-and-loose with eta-expanding State# lambdas.  A
 quick look at the Core shows that `calFor year` is not shared across
 multiple executions.

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


More information about the Glasgow-haskell-bugs mailing list