[GHC] #10923: GHC should recompile if flags change

GHC ghc-devs at haskell.org
Fri Sep 2 19:36:58 UTC 2016


#10923: GHC should recompile if flags change
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Compiler          |              Version:  7.10.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:                    |
-------------------------------------+-------------------------------------
Changes (by nomeata):

 * status:  merge => new


Comment:

 I think you’ll want a data structure that contains all the effective
 optimization flags, and not aliases like `-O`. This way, adding a flag
 that is implied by, say `-O`, would not cause recompilation.

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


More information about the ghc-tickets mailing list