summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-04-12 13:21:41 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-04-12 14:21:37 +0100
commit5463b55b7dadc1e9918edb2d8666bf3ed195bc61 (patch)
tree9738714d517d56166a90a6eb18decb34fcf9d406 /ghc
parent4f018b471c7c5db858beb508b8430ae4d0621173 (diff)
downloadhaskell-5463b55b7dadc1e9918edb2d8666bf3ed195bc61.tar.gz
Cleanup sweep and fix a bug in RTS flag processing.
This code has accumulated a great deal of cruft over the years, this pass cleans up a lot of the surrounding cruft but leaves the actual argument processing alone - so there's still more that could be done. Bug fixed: - ghc_rts_opts should not be subject to the --rtsopts setting. If the programmer explicitly declares options with ghc_rts_opts, they shouldn't also have to accept command-line RTS options to make them work.
Diffstat (limited to 'ghc')
-rw-r--r--ghc/hschooks.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ghc/hschooks.c b/ghc/hschooks.c
index 4878021a8b..18679281e0 100644
--- a/ghc/hschooks.c
+++ b/ghc/hschooks.c
@@ -20,7 +20,6 @@ defaultsHook (void)
RtsFlags.GcFlags.heapSizeSuggestion = 6*1024*1024 / BLOCK_SIZE;
RtsFlags.GcFlags.maxStkSize = 512*1024*1024 / sizeof(W_);
RtsFlags.GcFlags.giveStats = COLLECT_GC_STATS;
- RtsFlags.GcFlags.statsFile = stderr;
// See #3408: the default idle GC time of 0.3s is too short on
// Windows where we receive console events once per second or so.