[GHC] #8668: SPECIALIZE silently fails to apply
GHC
ghc-devs at haskell.org
Fri Jan 17 04:27:58 UTC 2014
#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 carter):
If you write the SPECIALIZE pragma instance in the defining module for the
operation (assuming the associated class instances specialize too, check
that they can specialize mebe?), you don't need the INLINEABLE (unless you
want other instances to be specialized).
what happens when you go one step in the other direction and use INLINE?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8668#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list