[GHC] #9718: Avoid TidyPgm predicting what CorePrep will do

GHC ghc-devs at haskell.org
Fri Dec 7 08:42:41 UTC 2018


#9718: Avoid TidyPgm predicting what CorePrep will do
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.8.3
      Resolution:                    |             Keywords:  CodeGen, CAFs
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 simonmar):

 I was thinking about what we discussed the other day about compilations
 that stop after generating an interface file, such as `-fno-code`. Since
 this will now affect the ABI, we must include `-fno-code` when we
 fingerprint the flags, here:
 https://phabricator.haskell.org/diffusion/GHC/browse/master/compiler%2Fiface%2FFlagChecker.hs$37-64

 Possible this can be refined to "-fno-code is relevant only when -fno-
 omit-iface-pragmas".

 Are there any other flags that should be in this category?

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


More information about the ghc-tickets mailing list