[GHC] #14815: -XStrict prevents code inlining.

GHC ghc-devs at haskell.org
Thu Apr 19 16:24:24 UTC 2018


#14815: -XStrict prevents code inlining.
-------------------------------------+-------------------------------------
        Reporter:  danilo2           |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4531
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"f7f567d5003d15308bf5404301e29300b664e770/ghc"
 f7f567d5/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="f7f567d5003d15308bf5404301e29300b664e770"
 Add a test for #14815:

 Because the program doesn't have any binders that -XStrict can make
 strict, the desugarer output should be identical when it's compiled with
 and without -XStrict. This wasn't the case with GHC 8.2.2, but
 apparently it was fixed some time between 8.2.2 and 8.4.1. We now add a
 test case to make sure it stays fixed.

 Reviewers: bgamari

 Reviewed By: bgamari

 Subscribers: simonpj, rwbarton, thomie, carter

 GHC Trac Issues: #14815

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

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


More information about the ghc-tickets mailing list