[GHC] #13340: Core top-level bindings no longer deduplicated

GHC ghc-devs at haskell.org
Mon Feb 27 10:05:42 UTC 2017


#13340: Core top-level bindings no longer deduplicated
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.1
      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 simonpj):

 > I have no idea why the unfoldings for f and g would ever be stable

 It's done by `certainlyWillInline`.
 See `Note [Don't w/w inline small non-loop-breaker things]` in `WorkWrap`.

 I'd be happy to have a better way, but this is not terrible.

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


More information about the ghc-tickets mailing list