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

GHC ghc-devs at haskell.org
Thu Jul 20 16:51:58 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):

 Simon, this use case has 2 files - one with definition of StateT wrapper
 and the second with benchmark. There are 2 other files but completely
 commented out, sorry for not removing them. I was cleaning in hurry to
 discuss it on IRC. Anyway there are two source files:

 1. Control/Monad/State/Layered.hs - StateT newtype wrapper
 2. test/bench/Main.hs - couple lines of benchmarks showing the slowdown

 Is it good enough ?

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


More information about the ghc-tickets mailing list