[GHC] #16254: INLINABLE pragma and newtype wrappers prevent inlining
GHC
ghc-devs at haskell.org
Tue Jan 29 17:50:01 UTC 2019
#16254: INLINABLE pragma and newtype wrappers prevent inlining
-------------------------------------+-------------------------------------
Reporter: monoidal | Owner: monoidal
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #5327 | Differential Rev(s):
Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/247
-------------------------------------+-------------------------------------
Comment (by simonpj):
Hmm. I wonder why? I'd expect Size's wrapper to be inlined even inside
the INLINEABLE unfolding.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16254#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list