[GHC] #9370: unfolding info as seen when building a module depends on flags in a previously-compiled module

GHC ghc-devs at haskell.org
Thu Feb 1 05:56:27 UTC 2018


#9370: unfolding info as seen when building a module depends on flags in a
previously-compiled module
-------------------------------------+-------------------------------------
        Reporter:  carter            |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  7.8.3
      Resolution:                    |             Keywords:  newcomer,
                                     |  Inlining
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #8635             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * milestone:  8.4.1 => 8.6.1


Comment:

 This won't happen for 8.4.

 > bgamari: What is your approach for fixing this? Do you think it could be
 adapted to address the hs-boot visibility problems in ​trac:14092?

 Essentially it is to find all of the places where we use unfoldings and
 make them conditional on `DynFlags`. Then we can eliminate the conditional
 reading of unfoldings from interface files.

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


More information about the ghc-tickets mailing list