[GHC] #8526: -fforce-recomp does not re-summarise modules
#8526: -fforce-recomp does not re-summarise modules ------------------------------------+------------------------------------- Reporter: parcs | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Driver | Version: 7.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- -fforce-recomp should re-summarise modules so that the source file will get re-preprocessed. Otherwise a modification to an `#include`'d file will not get picked up. {{{ $ ghci -XCPP -v0 -fforce-recomp Prelude> :! echo '#include "A.hs-inc"' > A.hs Prelude> :! echo 'a = True' > A.hs-inc Prelude> :l A *Main> a True *Main> :! echo 'a = False' > A.hs-inc *Main> :r *Main> a True *Main> }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8526> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8526: -fforce-recomp does not re-summarise modules -------------------------------------+------------------------------------ Reporter: parcs | Owner: parcs Type: bug | Status: new Priority: normal | Milestone: Component: Driver | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by parcs): * owner: => parcs -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8526#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8526: -fforce-recomp does not re-summarise modules -------------------------------------+------------------------------------ Reporter: parcs | Owner: parcs Type: bug | Status: patch Priority: normal | Milestone: Component: Driver | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by parcs): * status: new => patch Comment: Do this patch look OK? -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8526#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8526: -fforce-recomp does not re-summarise modules -------------------------------------+------------------------------------ Reporter: parcs | Owner: parcs Type: bug | Status: patch Priority: normal | Milestone: Component: Driver | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by thoughtpolice): LGTM Patrick - please commit. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8526#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8526: -fforce-recomp does not re-summarise modules -------------------------------------+------------------------------------ Reporter: parcs | Owner: parcs Type: bug | Status: patch Priority: normal | Milestone: Component: Driver | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by Patrick Palka <patrick@…>): In [changeset:"08580616db410325dec7c5ebf36fef64b46a8f10/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="08580616db410325dec7c5ebf36fef64b46a8f10" Always re-summarise modules when -fforce-recomp is set Fixes #8526 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8526#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8526: -fforce-recomp does not re-summarise modules -------------------------------------+------------------------------------ Reporter: parcs | Owner: parcs Type: bug | Status: patch Priority: normal | Milestone: Component: Driver | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by Patrick Palka <patrick@…>): In [changeset:"b8c8a218dcd31b3a2e91d5094fd92003f659c107/testsuite"]: {{{ #!CommitTicketReference repository="testsuite" revision="b8c8a218dcd31b3a2e91d5094fd92003f659c107" Test Trac #8526 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8526#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8526: -fforce-recomp does not re-summarise modules -------------------------------------+------------------------------------ Reporter: parcs | Owner: parcs Type: bug | Status: closed Priority: normal | Milestone: Component: Driver | Version: 7.6.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: T8526 | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by parcs): * status: patch => closed * testcase: => T8526 * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8526#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC