|
#7060: Option -ddump-rule-rewrites doesn't dump to a file
------------------------------+--------------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.5 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Other | Testcase: Blockedby: | Blocking: Related: | ------------------------------+--------------------------------------------- Running the command (using my GHC git HEAD compiler): {{{ ~/GHC/bin/ghc -v --make -dumpdir dumpopt/ -ddump-to-file -ddump-rule- rewrites -O1 --make mask-test.hs -o mask-test-opt }}} and the `-ddump-rule-rewrites` output still ends up on the console instead of the specified dumpdir. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7060> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
#7060: Option -ddump-rule-rewrites doesn't dump to a file
---------------------------------+------------------------------------------ Reporter: erikd | Owner: pcapriotti Type: bug | Status: new Priority: normal | Milestone: 7.6.1 Component: Compiler | Version: 7.5 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: Other Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by pcapriotti): * owner: => pcapriotti * difficulty: => Unknown * milestone: => 7.6.1 -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7060#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
In reply to this post by GHC
#7060: Option -ddump-rule-rewrites doesn't dump to a file
---------------------------------+------------------------------------------ Reporter: erikd | Owner: pcapriotti Type: bug | Status: new Priority: normal | Milestone: 7.6.1 Component: Compiler | Version: 7.5 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: Other Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Comment(by p.capriotti@…): commit 3fcf5bdff7a22e22d7265535369cd8f867141ec1 {{{ Author: Paolo Capriotti <[hidden email]> Date: Thu Jul 12 17:53:50 2012 +0100 Use dumpSDoc functions to output rules (#7060) Make -ddump-rules, -ddump-rule-firings and -ddump-rule-rewrites behave like the other -ddump flags, by using the dumpSDoc function instance of pprDefiniteTrace. compiler/main/TidyPgm.lhs | 10 +++++----- compiler/simplCore/Simplify.lhs | 34 +++++++++++++++++++--------------- 2 files changed, 24 insertions(+), 20 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7060#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
In reply to this post by GHC
#7060: Option -ddump-rule-rewrites doesn't dump to a file
-------------------------------+-------------------------------------------- Reporter: erikd | Owner: pcapriotti Type: bug | Status: closed Priority: normal | Milestone: 7.6.1 Component: Compiler | Version: 7.5 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Other | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Changes (by pcapriotti): * status: new => closed * resolution: => fixed -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7060#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
In reply to this post by GHC
#7060: Option -ddump-rule-rewrites doesn't dump to a file
-------------------------------+-------------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: high | Milestone: 7.6.1 Component: Compiler | Version: 7.5 Resolution: | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Other | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Changes (by simonmar): * owner: pcapriotti => * priority: normal => high * status: closed => new * resolution: fixed => Comment: This broke the test `perf/compiler/T4007` (different output). Also I wonder whether the new output isn't too verbose; before we had {{{ Rule fired: unpack Rule fired: Class op >> Rule fired: Class op return Rule fired: <=# Rule fired: fold/build Rule fired: unpack-list }}} and now we have {{{ ==================== ==================== Rule fired unpack ==================== ==================== Rule fired Class op >> ==================== ==================== Rule fired Class op return ==================== ==================== Rule fired <=# ==================== ==================== Rule fired fold/build ==================== ==================== Rule fired unpack-list }}} Do we really want it to look like this? -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7060#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
In reply to this post by GHC
#7060: Option -ddump-rule-rewrites doesn't dump to a file
-------------------------------+-------------------------------------------- Reporter: erikd | Owner: pcapriotti Type: bug | Status: new Priority: high | Milestone: 7.6.1 Component: Compiler | Version: 7.5 Resolution: | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Other | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Changes (by simonmar): * owner: => pcapriotti -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7060#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
In reply to this post by GHC
#7060: Option -ddump-rule-rewrites doesn't dump to a file
-------------------------------+-------------------------------------------- Reporter: erikd | Owner: pcapriotti Type: bug | Status: new Priority: high | Milestone: 7.6.1 Component: Compiler | Version: 7.5 Resolution: | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Other | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Comment(by simonpj): We definitely want the old output! -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7060#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
In reply to this post by GHC
#7060: Option -ddump-rule-rewrites doesn't dump to a file
-------------------------------+-------------------------------------------- Reporter: erikd | Owner: pcapriotti Type: bug | Status: new Priority: high | Milestone: 7.6.1 Component: Compiler | Version: 7.5 Resolution: | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Other | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Comment(by p.capriotti@…): commit 2b341fc43b244a3cc8bc174875241821d983e16e {{{ Author: Paolo Capriotti <[hidden email]> Date: Tue Jul 17 16:24:26 2012 +0100 Remove hPrintDump and make rule dump output more consistent (#7060) The only difference between SevDump and SevOutput in defaultLogAction is an extra blank line, so we don't need a separate hPrintDump function. Also make -ddump-to-file consistent with the stdout version, by avoiding to add the extra empty line when dumping rules. compiler/main/DynFlags.hs | 2 +- compiler/main/ErrUtils.lhs | 8 +++++++- compiler/utils/Outputable.lhs | 10 +--------- 3 files changed, 9 insertions(+), 11 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7060#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
In reply to this post by GHC
#7060: Option -ddump-rule-rewrites doesn't dump to a file
-------------------------------+-------------------------------------------- Reporter: erikd | Owner: pcapriotti Type: bug | Status: closed Priority: high | Milestone: 7.6.1 Component: Compiler | Version: 7.5 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Other | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Changes (by pcapriotti): * status: new => closed * resolution: => fixed Comment: Also pushed: {{{ commit f8a00d0e4ac1f94f6ccf3da3ee6c208cdbce8d65 Author: Paolo Capriotti <[hidden email]> Date: Tue Jul 17 16:11:02 2012 +0100 Restore old output for -ddump-rule-firings #7060 Commit 3fcf5bdff7a22e22d7265535369cd8f867141ec1 made the output of -ddump-rule-firings and -ddump-rule-rewrites excessively verbose. Fixed by removing the extra blank lines and separator when the header of dump is empty. }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7060#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
| Powered by Nabble | Edit this page |
