[GHC] #3738: Typechecker floats stuff out of INLINE right hand
sides
GHC
trac at galois.com
Thu Dec 17 07:34:19 EST 2009
#3738: Typechecker floats stuff out of INLINE right hand sides
--------------------------------------+-------------------------------------
Reporter: rl | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.14 branch
Component: Compiler | Version: 6.13
Resolution: | Keywords:
Difficulty: | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: Runtime performance bug |
--------------------------------------+-------------------------------------
Comment (by simonpj):
Not a problem. See `Note [Simplifying inside InlineRules]` in
`SimplUtils`.
Since the `InlineRule` for `bar` is active in the initial phase we will
not inline `foo` since the inlining only becomes active in phase 1.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3738#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list