[GHC] #14815: -XStrict prevents code inlining.
GHC
ghc-devs at haskell.org
Fri Feb 16 19:00:32 UTC 2018
#14815: -XStrict prevents code inlining.
-------------------------------------+-------------------------------------
Reporter: danilo2 | Owner: (none)
Type: bug | Status: new
Priority: high | Milestone:
Component: Compiler | Version: 8.2.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by lyxia):
In the previous link, one difference for example is, in `K.lazy-iface`,
`$fPrimMonadStateT_$cprimitive` is marked `Inline: INLINE (sat-args=1)`,
whereas in `K.strict-iface`, `$fPrimMonadStateT1` is not marked such, and
also has a much larger unfolding for some reason.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14815#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list