
#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