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

GHC ghc-devs at haskell.org
Sat Jul 9 17:00:06 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:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Like `-fforce-recomp`? Or do you mean "`-fno-force-recomp`" (not sure
 whether that already exists)?

 I probably have made use of the current behavior before, though adding an
 `OPTIONS_GHC` pragma to a subset of the files is also a possibility. I've
 much more often been annoyed by needing to add `-fforce-recomp` when
 comparing the same program at different optimization levels.

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


More information about the ghc-tickets mailing list