- 23 Oct, 2012 7 commits
-
-
Simon Marlow authored
This means that -static now disables the -fPIC that we're currently getting by default.
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Gabor Greif authored
-
Gabor Greif authored
-
- 22 Oct, 2012 4 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
Even though e.g. inplace/bin/hpc doesn't normally need a shell wrapper, it does when we are using dynlibs, as we need to set the LD_LIBRARY_PATH so that it can find its libraries.
-
Simon Marlow authored
We were making an aggressive assumption that foreign calls cannot clobber heap or stack memory, which for the majority of foreign calls is true, but we violate the assumption in the implementation of primops in the RTS. This was causing crashes in some STM tests.
-
Simon Marlow authored
-
- 21 Oct, 2012 8 commits
-
-
ian@well-typed.com authored
This makes it easier to be confident that the optimisation gives the right answer.
-
jwlato authored
Adds better support for constant folding of Float/Double literals. - add rationalToFloat, rationalToDouble with associated Name/Id's in PrelNames. - add a matching rule in PrelRules for rationalTo* functions.
-
ian@well-typed.com authored
This will hopefully make it less likely that we will get bug reports with the pretty output, such as in trac ticket 7225.
-
Ian Lynagh authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
As well as the rules mentioned in the ticket, I've also gone through and added some more rules that might be useful in other cases.
-
- 19 Oct, 2012 7 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
This fixes using TH when building profiled libraries when dynamic-by-default is enabled.
-
ian@well-typed.com authored
-
Simon Marlow authored
Except for CgUtils.fixStgRegisters that is used in the NCG and LLVM backends, and should probably be moved somewhere else.
-
Simon Marlow authored
-
ian@well-typed.com authored
-
- 18 Oct, 2012 3 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
It sets GhcLibWays=v, which doesn't work with DYNAMIC_BY_DEFAULT on as the dynamic libs aren't built.
-
ian@well-typed.com authored
We were being inconsistent about how we tested whether dump flags were enabled; in particular, sometimes we also checked the verbosity, and sometimes we didn't. This lead to oddities such as "ghc -v4" printing an "Asm code" section which didn't contain any code, and "-v4" enabled some parts of "-ddump-deriv" but not others. Now all the tests use dopt, which also takes the verbosity into account as appropriate.
-
- 17 Oct, 2012 2 commits
-
-
Ian Lynagh authored
-
ian@well-typed.com authored
-
- 16 Oct, 2012 7 commits
-
-
Ian Lynagh authored
-
ian@well-typed.com authored
Mostly d -> g (matching DynFlag -> GeneralFlag). Also renamed if* to when*, matching the Haskell if/when names
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
This avoids confusion due to [DynFlag] and DynFlags being completely different types.
-
ian@well-typed.com authored
-
- 15 Oct, 2012 2 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-