[GHC] #12962: No automatic SCC annotations for functions marked INLINABLE

GHC ghc-devs at haskell.org
Fri May 12 18:38:38 UTC 2017


#12962: No automatic SCC annotations for functions marked INLINABLE
-------------------------------------+-------------------------------------
        Reporter:  MikolajKonarski   |                Owner:  dfeuer
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Profiling         |              Version:  8.0.1
      Resolution:                    |             Keywords:  Inlining,
                                     |  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12963            |  Differential Rev(s):  Phab:D3550
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by David Feuer <David.Feuer@…>):

 In [changeset:"ab91daf2cb8a4a8558727ebe30a662a2ddf290e1/ghc"
 ab91daf2/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ab91daf2cb8a4a8558727ebe30a662a2ddf290e1"
 Automatically add SCCs to INLINABLE bindings

 Instead of excluding `isAnyInlinePragma`, just exclude
 `isInlinePragma`. This makes GHC behave as documented;
 the user's guide only indicates that GHC does not automatically
 add SCCs to `INLINE` bindings.

 Fixes #12962.

 Reviewers: austin, bgamari

 Reviewed By: bgamari

 Subscribers: DemiMarie, osa1, Mikolaj, simonpj, rwbarton, thomie

 GHC Trac Issues: #12962

 Differential Revision: https://phabricator.haskell.org/D3550
 }}}

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


More information about the ghc-tickets mailing list