[GHC] #14001: Inlining does not work between modules

GHC ghc-devs at haskell.org
Sat Jul 22 21:51:09 UTC 2017


#14001: Inlining does not work between modules
-------------------------------------+-------------------------------------
        Reporter:  danilo2           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:
       Component:  Compiler          |              Version:  8.0.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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by danilo2):

 @simonpj, there are few things to be explained here:

 1. I did not notice that pasting the `(.)` to this file makes it strict (I
 forgot about the -`Strict` pragma in this file's header).

 2. There are some strange things happening with performance when playing
 with this code, but we've described them separately, here:
 https://ghc.haskell.org/trac/ghc/ticket/14013 .

 We can in fact close this topic, because it's main description relates to
 the fact that the `(.)` operator was pasted into `-XStrict` code and any
 further discussion here would lead readers to confusion.

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


More information about the ghc-tickets mailing list