#5779: SPECIALISE pragma generates wrong activations
--------------------------------------+-------------------------------------
Reporter: rl | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.5
Resolution: invalid | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Runtime performance bug | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
--------------------------------------+-------------------------------------
Comment(by simonpj):
Because the common case is that you have
{{{
f x = e
{-# SPECIALISE f :: Int -> Int #-}
}}}
Then you are saying "if f doesn't inline by itself, use the specialised
version". That's a perfectly reasonable thing to say.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5779#comment:6>
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