[GHC] #14815: -XStrict prevents code inlining.

GHC ghc-devs at haskell.org
Fri Feb 16 14:28:47 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):

 Maybe it's more correct to look at the interface rather than the
 simplifier. INLINE annotations still differ, but at least unfoldings
 appear in both.
 https://gist.github.com/Lysxia/355c4f1fa4ad0724c105d3baa42cbd4c

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14815#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list