- 26 Aug, 2008 2 commits
-
-
Ian Lynagh authored
-
simonpj@microsoft.com authored
This patch executes the plan described in the discussion in Trac #2497. Specficially: * Inside a RULE, switch on the forall-as-keyword in the lexer, unconditionally. (Actually this is done by an earlier patch.) * Merge the -XScopedTypeVariables and -XPatternSignatures flags, and deprecate the latter. Distinguishing them isn't senseless, but it's jolly confusing. * Inside a RULE, switch on -XScopedTypeVariables unconditionally. * Change -frewrite-rules to -fenable-rewrite-rules; deprecate the former. Internally the DynFlag is now Opt_EnableRewriteRules. There's a test in typecheck/should_compile/T2497.hs
-
- 12 Aug, 2008 1 commit
-
-
Simon Marlow authored
It was replaced by -fwarn-warnings-deprecations, but I think we want to keep it for backwards compatibility. I'm not sure we want to deprecate it either...
-
- 13 Aug, 2008 1 commit
-
-
simonpj@microsoft.com authored
-
- 05 Aug, 2008 1 commit
-
-
Simon Marlow authored
Now you can say import "network" Network.Socket and get Network.Socket from package "network", even if there are multiple Network.Socket modules in scope from different packages and/or the current package. This is not really intended for general use, it's mainly so that we can build backwards-compatible versions of packages, where we need to be able to do module GHC.Base (module New.GHC.Base) where import "base" GHC.Base as New.GHC.Base
-
- 31 Jul, 2008 1 commit
-
-
batterseapower authored
-
- 05 Aug, 2008 1 commit
-
-
Simon Marlow authored
The flag is off by default, but GHCi turns it on (in Main.hs). For GHCi it can be overriden on the command-line or using :set.
-
- 30 Jul, 2008 1 commit
-
-
Ian Lynagh authored
-
- 22 Jul, 2008 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 20 Jul, 2008 3 commits
-
-
Ian Lynagh authored
They are now handled by the main flag parser, rather than having their own praser that runs later. As an added bonus, 5 global variables are also gone.
-
Thomas Schilling authored
-
Ian Lynagh authored
-
- 11 Jul, 2008 1 commit
-
-
Simon Marlow authored
This is all a bit of a mess, but can hopefully be improved when we get encoding/decoding support in Handles.
-
- 12 Jul, 2008 1 commit
-
-
Ian Lynagh authored
-fglasgow-exts also turns it on.
-
- 09 Jul, 2008 2 commits
-
-
Ian Lynagh authored
We shouldn't need it, as we don't call cygwin's gcc, and it was causing problems with the nightly builders passing it to GHC.
-
Simon Marlow authored
From the entry in the User's guide: -fwarn-dodgy-foreign-imports causes a warning to be emitted for foreign imports of the following form: foreign import "f" f :: FunPtr t on the grounds that it probably should be foreign import "&f" f :: FunPtr t The first form declares that `f` is a (pure) C function that takes no arguments and returns a pointer to a C function with type `t`, whereas the second form declares that `f` itself is a C function with type `t`. The first declaration is usually a mistake, and one that is hard to debug because it results in a crash, hence this warning.
-
- 08 Jul, 2008 1 commit
-
-
Ian Lynagh authored
It now also doesn't automatically link base and rts either. We need this when we've done a build, so base and rts are in the package.conf, but we've then cleaned the libraries so they don't physically exist any more.
-
- 05 Jul, 2008 1 commit
-
-
Ian Lynagh authored
-
- 02 Jul, 2008 1 commit
-
-
rl@cse.unsw.edu.au authored
It's -fdph-seq and -fdph-par at the moment, I'll think of a nicer setup later.
-
- 16 Jun, 2008 2 commits
-
-
simonpj@microsoft.com authored
This is a fairly substantial rewrite of the Static Argument Transformatoin, done by Max Bolingbroke and reviewed and modified by Simon PJ. * Fix a subtle scoping problem; see Note [Binder type capture] * Redo the analysis to use environments * Run gentle simlification just before the transformation
-
Ian Lynagh authored
* Allow -ffoo flags to be deprecated * Mark some -ffoo flags as deprecated * Avoid using deprecated flags in error messages, in the build system, etc * Add a flag to en/disable the deprecated flag warning
-
- 15 Jun, 2008 1 commit
-
-
Ian Lynagh authored
-
- 14 Jun, 2008 5 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
We might want to put the values initSysTools finds in their own type, rather than having them flattened into DynFlags
-
Ian Lynagh authored
-
- 06 Jun, 2008 1 commit
-
-
Ian Lynagh authored
-
- 03 Jun, 2008 1 commit
-
-
Simon Marlow authored
From the docs: <para>Suppress any unsolicited debugging output. When GHC has been built with the <literal>DEBUG</literal> option it occasionally emits debug output of interest to developers. The extra output can confuse the testing framework and cause bogus test failures, so this flag is provided to turn it off.</para>
-
- 30 May, 2008 1 commit
-
-
Simon Marlow authored
-
- 23 May, 2008 1 commit
-
-
Simon Marlow authored
-
- 20 May, 2008 2 commits
-
-
rl@cse.unsw.edu.au authored
This is the optimisation level recommended when compiling DPH programs. At the moment, it is equivalent to -O2 -fno-method-sharing -fdicts-cheap -fmax-simplifier-iterations20 -fno-spec-constr-threshold.
-
rl@cse.unsw.edu.au authored
We want -Odph to be a dynamic flag and that should imply -fno-method-sharing. This doesn't add a lot of complexity.
-
- 07 May, 2008 1 commit
-
-
rl@cse.unsw.edu.au authored
-
- 11 Apr, 2008 1 commit
-
-
simonpj@microsoft.com authored
This patch revives the Static Argument Transformation, thanks to Max Bolingbroke. It is enabled with -fstatic-argument-transformation or -O2 Headline nofib results Size Allocs Runtime Min +0.0% -13.7% -21.4% Max +0.1% +0.0% +5.4% Geometric Mean +0.0% -0.2% -6.9%
-
- 29 Mar, 2008 1 commit
-
-
Ian Lynagh authored
Modules that need it import it themselves instead.
-
- 06 Mar, 2008 1 commit
-
-
simonpj@microsoft.com authored
This patch makes a significant improvement to SpecConstr, based on Roman's experience with using it for stream fusion. The main change is this: * For local (not-top-level) declarations, seed the specialisation loop from the calls in the body of the 'let'. See Note [Local recursive groups] for discussion and example. Top-level declarations are treated just as before. Other changes in this patch: * New flag -fspec-constr-count=N sets the maximum number of specialisations for any single function to N. -fno-spec-constr-count removes the limit. * Refactoring in specLoop and friends; new algebraic data types OneSpec and SpecInfo instead of the tuples that were there before * Be less keen to specialise on variables that are simply in scope. Example f p q = letrec g a y = ...g.... in g q p We probably do not want to specialise 'g' for calls with exactly the arguments 'q' and 'p', since we know nothing about them.
-
- 22 Feb, 2008 1 commit
-
-
simonpj@microsoft.com authored
-
- 07 Feb, 2008 1 commit
-
-
Simon Marlow authored
-