#4941: SpecConstr generates functions that do not use their arguments
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:                         
        Type:  task              |       Status:  new                    
    Priority:  normal            |    Milestone:  _|_                    
   Component:  Compiler          |      Version:  7.0.1                  
    Keywords:                    |     Testcase:                         
   Blockedby:                    |   Difficulty:                         
          Os:  Unknown/Multiple  |     Blocking:                         
Architecture:  Unknown/Multiple  |      Failure:  Runtime performance bug
---------------------------------+------------------------------------------

Comment(by batterseapower):

 I'm being particularly slow today. The issue was obvious once I looked at
 the simplified output rather than the tidied core - there is a non-dead
 function  later in that letrec (go_s1gC) that has a RULE that rewrites to
 $sgo_s1lg.

 It is sort of unfortunate that this is keeping the thing it refers to
 alive even after core tidying, where rules cannot possibly apply any more.

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