
#8668: SPECIALIZE silently fails to apply -------------------------------------+---------------------------------- Reporter: crockeea | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+---------------------------------- Comment (by crockeea): For the small example above, GHC simply inlines everything and both main functions are equally fast. However, I tried this in my real code and the equivalent of plusFastCyc is too large for GHC to inline (even with `INLINE` pragmas), and used in too many places for that to be a good solution even if it did work. That's why I'm trying to make GHC call a specialized function instead. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8668#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler