[GHC] #2353: GHC inliner doesn't
GHC
trac at galois.com
Mon Jun 9 11:53:38 EDT 2008
#2353: GHC inliner doesn't
----------------------+-----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.9
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Comment (by guest):
Add the rule below to the example above. With the code as given above the
rule doesn't fire since foo isn't inlined. With just bar exported the
rule does fire, because foo is inlined.
{{{
-- XXX Add -fno-method-sharing to the command line. It's a static flag.
:(
{-# RULES "to/from" forall x . to (from x) = x #-}
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2353#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list