[GHC] #13999: Simple function not inlined within declaration marked NOINLINE

GHC ghc-devs at haskell.org
Thu Jul 20 10:38:25 UTC 2017


#13999: Simple function not inlined within declaration marked NOINLINE
-------------------------------------+-------------------------------------
        Reporter:  srb               |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  lowest            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:  Inlining
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by srb):

 Well yes, but without NOINLINE it is likely that eq will be inlined in its
 caller, so delaying the inlining of (==) is arguably justifiable as a
 means to avoid excessive bloat.

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


More information about the ghc-tickets mailing list