#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 simonpj): Well, if `go_s1gC` was externally visible (via the interface file), then its RULE ''could'' still fire. But if it's not exported, it can't. So * `CoreTidy` could discard RULES and unfoldings for non-externally- visible things * `CoreTidy` could run the occurrence analyser to drop code thereby shown to be dead But that still doesn't account for some programs allocating more and running slower. Simon -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4941#comment:13> 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