#7865: SpecConstr duplicating computations ---------------------------------+------------------------------------------ Reporter: amosrobinson | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: Keywords: SpecConstr | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: Runtime performance bug Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Comment(by simonpj@…): commit ed54858977e98a833a5767a9c2d07b05c20e5aff {{{ Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Fri May 3 12:00:19 2013 +0100 Do not duplicate work in SpecConstr (fix Trac #7865) This is a bad bug, if a rare one. See Note [Work-free values only in environment]. Thanks to Amos Robinson for finding it. compiler/specialise/SpecConstr.lhs | 63 +++++++++++++++++++++++++++++++++--- 1 files changed, 58 insertions(+), 5 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7865#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler