Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/5463b55b7dadc1e9918edb2d8666bf3ed195bc61 >--------------------------------------------------------------- commit 5463b55b7dadc1e9918edb2d8666bf3ed195bc61 Author: Simon Marlow <marlo...@gmail.com> Date: Tue Apr 12 13:21:41 2011 +0100 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. compiler/main/DriverPipeline.hs | 6 +- ghc/hschooks.c | 1 - includes/RtsFlags.h | 5 - includes/RtsOpts.h | 8 +- includes/rts/Flags.h | 7 - rts/RtsFlags.c | 242 +++++++++++++++++++++++++-------------- rts/RtsFlags.h | 23 ++++ rts/RtsStartup.c | 4 +- rts/ghc.mk | 1 + rts/hooks/RtsOptsEnabled.c | 2 +- 10 files changed, 190 insertions(+), 109 deletions(-) Diff suppressed because of size. To see it, use: git show 5463b55b7dadc1e9918edb2d8666bf3ed195bc61 _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc