[GHC] #9243: Recompilation avoidance doesn't work for -fno-code/-fwrite-interface

GHC ghc-devs at haskell.org
Fri Jul 17 23:56:49 UTC 2015


#9243: Recompilation avoidance doesn't work for -fno-code/-fwrite-interface
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                   Owner:  ezyang
            Type:  bug               |                  Status:  closed
        Priority:  high              |               Milestone:  7.10.1
       Component:  Compiler          |                 Version:  7.9
      Resolution:  fixed             |                Keywords:  backpack
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:  Phab:D596
-------------------------------------+-------------------------------------

Comment (by Thomas Miedema <thomasmiedema@…>):

 In [changeset:"bc604bdb0144010e8582caa6ea159ca0446c04f2/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="bc604bdb0144010e8582caa6ea159ca0446c04f2"
 Update assert to fix retc001 and retc002 (#9243)

 Since 2223e196b2dc5340d70e58be011c279d381b4319, maybe_old_linkable can
 be Nothing even with an up-to-date interface file. This happens when
 compiling with --make -fno-code -fwrite-interface.

 See also Note [Recompilation checking when typechecking only] in
 GhcMake.hs.

 This fixes retc001 and retc002 when ghc_debugged.

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

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


More information about the ghc-tickets mailing list