[GHC] #11770: Demand analysis: Wrong one-shot annotation due to fixed-point iteration
GHC
ghc-devs at haskell.org
Wed Mar 30 09:20:55 UTC 2016
#11770: Demand analysis: Wrong one-shot annotation due to fixed-point iteration
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by nomeata):
> No, that'll be fine: the occurrence analyser runs before each pass of
the simplifier.
Aha, the OccurAnal code actually looks at `idDemandInfo` of a let-bound
expression. Didn’t know that, but it makes sense now. I’ll add that to the
relevant note.
> Good point! Please comment this prominently with updOneShotInfo.
Done, in `wip/T11770` for now.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11770#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list