#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):
You are right that the rules need to be kept for at least the interface
file. But it is useless to keep around let bindings only referred to by
rules at the CorePrep stage - i.e. for code generation.
I fail to see how this does not explain the allocation increase - if my
inner loop is allocating a spurious closure for this dead function,
doesn't that increase the allocation figures? The dead function is not
present in the version of the code without the extra strictness analysis
pass.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4941#comment:14>
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