[GHC] #10720: New GHC fails to specialize imported function

GHC ghc-devs at haskell.org
Wed Aug 5 13:25:02 UTC 2015


#10720: New GHC fails to specialize imported function
-------------------------------------+-------------------------------------
        Reporter:  wyager            |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.2
      Resolution:                    |                Keywords:
                                     |  performance, inline, specialize
Operating System:  MacOS X           |            Architecture:  x86_64
 Type of failure:  Runtime           |  (amd64)
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"a4261549afaee56b00fbea1b4bc1a07c95e60929/ghc" a426154/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a4261549afaee56b00fbea1b4bc1a07c95e60929"
 Warn about missed specialisations for imports

 This change was provoked by Trac #10720, where a missing
 INLINEABLE pragma gave very poor performance.

 The change is to warn when an imported function is not specialised
 in a situation where the user expects it to be.

 New flags
   -fwarn-missed-specialisations
   -fwarn-all-missed-specialisations

 Documented in user manual.
 See Note [Warning about missed specialisations]
 }}}

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


More information about the ghc-tickets mailing list