#4428: Local functions lose their unfoldings
---------------------------------+------------------------------------------
    Reporter:  rl                |        Owner:                         
        Type:  bug               |       Status:  merge                  
    Priority:  normal            |    Milestone:  7.0.2                  
   Component:  Compiler          |      Version:  7.1                    
    Keywords:                    |     Testcase:                         
   Blockedby:                    |   Difficulty:                         
          Os:  Unknown/Multiple  |     Blocking:                         
Architecture:  Unknown/Multiple  |      Failure:  Runtime performance bug
---------------------------------+------------------------------------------

Comment(by simonpj):

 Replying to [comment:10 rl]:

 > The previous behaviour was what I meant with "the rhs it would have
 right before phase 0". So this ''has'' changed. It's a pity, actually, I
 found the previous semantics much cleaner.

 Lets just deal with this first.  When I said that the change was
 "invisible" I meant that it had no observable effect.  The only difference
 (I believe) is that if you say `INLINE[n]` then the rhs-to-be-inlined gets
 optimised with phase=n (only). I suppose that potentially might save a bit
 of work at the inline site.  Is that what you mean?

 I don't understand what you mean by the previous semantics being much
 cleaner.  The semantics hasn't changed, I believe.  Do you think it has?

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