#5302: Unused arguments in join points
---------------------------------+------------------------------------------
Reporter: reinerp | Owner: simonpj
Type: bug | Status: new
Priority: normal | Milestone: 7.4.1
Component: Compiler | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Runtime performance bug
---------------------------------+------------------------------------------
Comment(by reinerp):
As it can be somewhat subtle exactly when the unused argument arises (in
particular, removing too much code causes the unused argument to
disappear), I also attached a "less minimal" example. So the file
{{{T5302_full.hs}}} is a less cut-down version of the {{{T5302.hs}}}, in
case that is helpful. Run
{{{
ghc-7.0.3 -c -ddump-simpl -O2 T5302_full.hs
}}}
and as before, look for the first join point inside the {{{Deep}}} case of
{{{$wsplitTree}}}.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5302#comment:4>
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