[GHC] #13604: ghci no longer loads dynamic .o files by default if they were built with -O

GHC ghc-devs at haskell.org
Mon Dec 11 19:26:31 UTC 2017


#13604: ghci no longer loads dynamic .o files by default if they were built with -O
-------------------------------------+-------------------------------------
        Reporter:  George            |                Owner:  dfeuer
            Type:  bug               |               Status:  patch
        Priority:  highest           |            Milestone:  8.2.3
       Component:  Compiler          |              Version:  8.2.1-rc1
      Resolution:                    |             Keywords:
                                     |  RecompilationCheck
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4123
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"708ed9ca4dbf372817fe84a2fe486940123bddfb/ghc" 708ed9c/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="708ed9ca4dbf372817fe84a2fe486940123bddfb"
 Allow users to ignore optimization changes

 * Add a new flag, `-fignore-optim-changes`, allowing them to avoid
   recompilation if the only changes are to the `-O` level or to
   flags controlling optimizations.

 * When `-fignore-optim-changes` is *off*, recompile when optimization
   flags (e.g., `-fno-full-laziness`) change. Previously, we ignored
   these unconditionally when deciding whether to recompile a module.

 Reviewers: austin, bgamari, simonmar

 Reviewed By: simonmar

 Subscribers: duog, carter, simonmar, rwbarton, thomie

 GHC Trac Issues: #13604

 Differential Revision: https://phabricator.haskell.org/D4123
 }}}

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


More information about the ghc-tickets mailing list