[GHC] #12603: INLINE and manually inlining produce different code

GHC ghc-devs at haskell.org
Wed Nov 16 06:53:44 UTC 2016


#12603: INLINE and manually inlining produce different code
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  bgamari
            Type:  task              |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12747 #12781     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by MikolajKonarski):

 One more clue: INLINE vs. (INLINABLE + inline for each call) produce
 different code --- at the least the binary size differs, the one with
 INLINE yields bigger exes; possibly also slower, but I haven't pumped the
 difference enough to make sure.

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


More information about the ghc-tickets mailing list