- 11 Nov, 2010 1 commit
-
-
simonpj@microsoft.com authored
-
- 10 Nov, 2010 2 commits
-
-
rl@cse.unsw.edu.au authored
-
Ian Lynagh authored
-
- 03 Nov, 2010 4 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 02 Nov, 2010 2 commits
-
-
Ian Lynagh authored
showMultiLineString is only in >= 7.1.
-
Ian Lynagh authored
-
- 01 Nov, 2010 1 commit
-
-
Ian Lynagh authored
as well as decommiting it.
-
- 29 Oct, 2010 1 commit
-
-
Ian Lynagh authored
-
- 01 Nov, 2010 1 commit
-
-
simonpj@microsoft.com authored
In particular, instead of Cannot match 'a' with 'b' we get Could not deduce (a~b) from context (F a ~ b) or whatever
-
- 29 Oct, 2010 2 commits
-
-
Ian Lynagh authored
-
Simon Marlow authored
I'm surprised that these haven't caused any problems (or maybe they have?)
-
- 28 Oct, 2010 1 commit
-
-
Simon Marlow authored
We were generating PrimopWrappers.hs twice in two different places, one for the normal build and one for Haddock (I think). Unfortunately one of these was causing extra rebuilding, because the file dropped into the dist-install/build/autogen directory, where it was picked up by the automatic HS_SRCS detection in subsequent make runs. This was exposed by a recent change to HS_SRCS: Wed Oct 20 11:47:59 BST 2010 Ian Lynagh <igloo@earth.li> * Look for sources in Cabal's autogen directory too This should fix the stage3 failures in the build bots.
-
- 29 Oct, 2010 4 commits
-
-
benl@ouroborus.net authored
-
benl@ouroborus.net authored
-
benl@ouroborus.net authored
-
benl@ouroborus.net authored
It now says: ghc-stage2: sorry! (this is work in progress) (GHC version 7.1.20101028 for i386-apple-darwin): Vectorise.Builtins.indexBuiltin DPH builtin function 'sumTyCon' of size '11' is not yet implemented. This function does not appear in your source program, but it is needed to compile your code in the backend. This is a known, current limitation of DPH. If you want it to to work you should send mail to cvs-ghc@haskell.org and ask what you can do to help (it might involve some GHC hacking). I added 'pprSorry' that behaves like 'pprPanic' except it say sorry! instead of panic!, and doesn't ask the user to report a bug.
-
- 28 Oct, 2010 4 commits
-
-
Ian Lynagh authored
Also changed exitcode of -1 to 1 in hpc.
-
simonpj@microsoft.com authored
It was always secret, and has now vanished as silently as it came
-
simonpj@microsoft.com authored
We can remove it altogether in GHC 7.2
-
simonpj@microsoft.com authored
A wibble to my previous change in WorkWrap, fixes simplrun010
-
- 27 Oct, 2010 7 commits
-
-
simonpj@microsoft.com authored
1. Do eta-expansion at let-bindings, not lambdas. I have wanted to do this for a long time. See Note [Eta-expanding at let bindings] in SimplUtils 2. Simplify the rather subtle way in which InlineRules (the template captured by an INLINE pragma) was simplified. Now, these templates are always simplified in "gentle" mode only, and only INLINE things inline inside them. See Note Note [Gentle mode], Note [Inlining in gentle mode] and Note [RULEs enabled in SimplGently] in SimplUtils
-
simonpj@microsoft.com authored
Amazingly, there were still Wrong Things in the arity analysis, exposed by my fiddling with eta expansion. I simplified the code, clarified the comments, added more examples, and tidied it all up. I hope it's better this time.
-
simonpj@microsoft.com authored
This fix ties the knot for recursive groups properly
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
See Note [Don't w/w INLINABLE things] in WorkWrap This fixes a bug that Milan found.
-
Simon Marlow authored
While trying to fix #1666 (-Werror aborts too early) I decided to some tidyup in GHC/DriverPipeline/HscMain. - The GhcMonad overloading is gone from DriverPipeline and HscMain now. GhcMonad is now defined in a module of its own, and only used in the top-level GHC layer. DriverPipeline and HscMain use the plain IO monad and take HscEnv as an argument. - WarnLogMonad is gone. printExceptionAndWarnings is now called printException (the old name is deprecated). Session no longer contains warnings. - HscMain has its own little monad that collects warnings, and also plumbs HscEnv around. The idea here is that warnings are collected while we're in HscMain, but on exit from HscMain (any function) we check for warnings and either print them (via log_action, so IDEs can still override the printing), or turn them into an error if -Werror is on. - GhcApiCallbacks is gone, along with GHC.loadWithLogger. Thomas Schilling told me he wasn't using these, and I don't see a good reason to have them. - there's a new pure API to the parser (suggestion from Neil Mitchell): parser :: String -> DynFlags -> FilePath -> Either ErrorMessages (WarningMessages, Located (HsModule RdrName))
-
Simon Marlow authored
-
- 13 Oct, 2010 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 27 Oct, 2010 1 commit
-
-
simonpj@microsoft.com authored
See Note [SPECIALISE pragmas] in TcBinds. Fixes Trac #444.
-
- 26 Oct, 2010 1 commit
-
-
Simon Marlow authored
-
- 21 Oct, 2010 1 commit
-
-
Thomas Schilling authored
-
- 24 Oct, 2010 1 commit
-
-
Michal Terepeta authored
-
- 26 Oct, 2010 4 commits
-
-
gwright@antiope.com authored
This patch fixes two bugs in the Mach-O linker and adds debugging statements to the same. The bugs: 1. The test for symbol->n_value == 0 is removed and replaced by a test of the flag field. Checking the n_value field was just wrong; the value of a symbol should only be examined when allocating space for a common block, in which case the n_value field gives the size of the block. This bug led to an infrequently occuring linker crash. I believe the behavior of the linker now agrees with the intent of the sketchy Apple documentation. 2. Jump islands were being filled with garbage instead of the the location of the referenced symbol. This caused relocations of type X86_64_RELOC_GOT and X86_64_RELOC_GOT_LOAD to eventually lead to crashes. The fix is simply to look up the symbol. Enough debug statements have been added to follow the operation of the Mach-O linker while it loads modules. They are not yet as informative and well organized as for ELF. Improving the debug statements will require some reorganization of the code -- the Mach-O linker seems basically sound, but is crying out for some refactoring and commenting.
-
Ian Lynagh authored
findDupsEq is quadratic, whereas removeDups is n log n. Fixes T1969 regression.
-
Ian Lynagh authored
-
Ian Lynagh authored
-