Re: [GHC] #7406: -ddump-ds does not turn on -fforce-recomp
#7406: -ddump-ds does not turn on -fforce-recomp +--- Reporter: goldfire | Owner: igloo Type: bug | Status: infoneeded Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: MacOS X Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Easy (less than 1 hour) |Testcase: Blockedby: |Blocking: Related: | +--- Comment(by simonmar): I noticed this too. It did work, but apparently broke at some point. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7406#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7406: -ddump-ds does not turn on -fforce-recomp
#7406: -ddump-ds does not turn on -fforce-recomp +--- Reporter: goldfire | Owner: igloo Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: MacOS X Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Easy (less than 1 hour) |Testcase: Blockedby: |Blocking: Related: | +--- Changes (by igloo): * status: infoneeded = new Comment: Ah, thanks. I was trying with {{{ ghc -c q.hs -ddump-ds }}} which does recompile it. Curious, I'll take a look. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7406#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7406: -ddump-ds does not turn on -fforce-recomp
#7406: -ddump-ds does not turn on -fforce-recomp +--- Reporter: goldfire | Owner: igloo Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: MacOS X Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Easy (less than 1 hour) |Testcase: Blockedby: |Blocking: Related: | +--- Comment(by igloo): OK, looks like this is deliberate: {{{ forceRecompile :: DynP () -- Whenver we -ddump, force recompilation (by switching off the -- recompilation checker), else you don't see the dump! However, -- don't switch it off in --make mode, else *everything* gets -- recompiled which probably isn't what you want forceRecompile = do dfs - liftEwM getCmdLineState when (force_recomp dfs) (setGeneralFlag Opt_ForceRecomp) where force_recomp dfs = isOneShot (ghcMode dfs) }}} I think it would be best to just adjust the docs to match. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7406#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7406: -ddump-ds does not turn on -fforce-recomp
#7406: -ddump-ds does not turn on -fforce-recomp +--- Reporter: goldfire | Owner: igloo Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: MacOS X Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Easy (less than 1 hour) |Testcase: Blockedby: |Blocking: Related: | +--- Changes (by simonpj): * owner: = igloo * difficulty: = Easy (less than 1 hour) * milestone: = 7.8.1 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7406#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7406: -ddump-ds does not turn on -fforce-recomp
#7406: -ddump-ds does not turn on -fforce-recomp +--- Reporter: goldfire | Owner: igloo Type: bug | Status: infoneeded Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: MacOS X Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Easy (less than 1 hour) |Testcase: Blockedby: |Blocking: Related: | +--- Changes (by igloo): * status: new = infoneeded Comment: Seems to work for me. Can you tell me how to reproduce it please? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7406#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7406: -ddump-ds does not turn on -fforce-recomp
#7406: -ddump-ds does not turn on -fforce-recomp +--- Reporter: goldfire | Owner: igloo Type: bug | Status: infoneeded Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: MacOS X Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Easy (less than 1 hour) |Testcase: Blockedby: |Blocking: Related: | +--- Comment(by goldfire): {{{ 22:51:50 ~/temp ghc Scratch.hs [1 of 1] Compiling Scratch ( Scratch.hs, Scratch.o ) 22:51:56 ~/temp ghc Scratch.hs 22:51:57 ~/temp ghc -ddump-ds Scratch.hs 22:52:03 ~/temp ghc -ddump-ds -fforce-recomp Scratch.hs [1 of 1] Compiling Scratch ( Scratch.hs, Scratch.o ) Desugar (after optimization) ... }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7406#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs