Do not duplicate work in SpecConstr (fix Trac #7865)
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 3 May 2013 11:00:19 +0000 (12:00 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 3 May 2013 11:00:19 +0000 (12:00 +0100)
commited54858977e98a833a5767a9c2d07b05c20e5aff
treec93a4f1d3533ec9831ca7227e1d7dc674a8086e5
parentbee30a6586ae157d8a5569f17f0e4cd14ab71653
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