[GHC] #5928: INLINABLE fails to specialize in presence of simple wrapper

GHC ghc-devs at haskell.org
Mon May 14 20:51:38 UTC 2018


#5928: INLINABLE fails to specialize in presence of simple wrapper
-------------------------------------+-------------------------------------
        Reporter:  tibbe             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.4.1
      Resolution:                    |             Keywords:  Inlining,
                                     |  Specialise
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 andrewthad):

 I don't know when this was fixed, but I just tried the attached
 reproducible case with GHC 8.2.2, and specialization occurs as expected.
 This came up because I was working on another project and realized that
 inlining did not block specialization like this comment:19 suggested it
 would. I think this ticket should be marked as resolved.

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


More information about the ghc-tickets mailing list