#4414: scc001 fails: one SCC entered 0 times; another not mentioned when
optimisation is on
---------------------------------+------------------------------------------
    Reporter:  igloo             |        Owner:  simonmar    
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:  7.0.2       
   Component:  Profiling         |      Version:  6.12.3      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
Changes (by simonpj):

  * owner:  => simonmar


Comment:

 This is a fix for the -O case:
 {{{
 Tue Oct 26 01:07:54 PDT 2010  simo...@microsoft.com
   * Don't look through SCC in exprIsConApp_maybe

   By not taking account of SCC notes we were inadvertently
   discarding some, which led to mis-counted entries with -O

   Should fix (part of) Trac #4414

     M ./compiler/coreSyn/CoreUnfold.lhs -4 +5
 }}}
 Profiled programs compiled with -O will run a bit slower, but the entry
 count should be right.

 Probably worth merging.

 I'll change ownership to Simon M for the -O0 bug.

 Simon

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