[GHC] #15578: Honour INLINE pragmas on 0-arity bindings

GHC ghc-devs at haskell.org
Thu Sep 13 09:38:09 UTC 2018


#15578: Honour INLINE pragmas on 0-arity bindings
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #15519            |  Differential Rev(s):  Phab:D5137
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Krzysztof Gogolewski <krz.gogolewski@…>):

 In [changeset:"b9b1f99954e69f23e9647d00e048938d5509ec14/ghc"
 b9b1f999/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b9b1f99954e69f23e9647d00e048938d5509ec14"
 Honor INLINE on 0-arity bindings (#15578)

 Summary:
 Fix test for #15578

 By allowing 0-arity values to be inlined, we end up changing boringness
 annotations, and this gets reflected in the Core output for this
 particular test.

 Add Notes for #15578

 Test Plan: ./validate

 Reviewers: simonpj, bgamari

 Reviewed By: simonpj

 Subscribers: rwbarton, carter

 GHC Trac Issues: #15578

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

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


More information about the ghc-tickets mailing list