
#5302: Unused arguments in join points
-------------------------------------+-------------------------------------
Reporter: reinerp | Owner: simonpj
Type: bug | Status: new
Priority: low | Milestone:
Component: Compiler | Version: 7.0.3
Resolution: | Keywords: JoinPoints
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by osa1):
Just tried with GHC HEAD. Late demand analysis removes unused join point
argument.
{{{
let-no-escape {
$j_s4wc [Occ=Once*!T[2], Dmd=, Unf=OtherCon []] = ...
}}}
--
Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/5302#comment:17
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler