Sun Nov 8 12:02:25 CET 2009 Matthias Kilian <[email protected]> * When booting from HC files, search includes for headers
New patches:
[When booting from HC files, search includes for headers Matthias Kilian <[email protected]>**20091108110225 Ignore-this: 97b69c0fe499f8c1cbbd8cbf92589e11 ] hunk ./ghc.mk 1041 endif ifeq "$(BootingFromHc)" "YES" -SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER -D__GLASGOW_HASKELL__=$(ProjectVersionInt) +SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -DNO_REGS -DUSE_MINIINTERPRETER -D__GLASGOW_HASKELL__=$(ProjectVersionInt) endif # ----------------------------------------------------------------------------- Context: [Change a use of xargs to "$(XARGS)" $(XARGS_OPTS) Ian Lynagh <[email protected]>**20091107224328] [Split XARGS into XARGS and XARGS_OPTS Ian Lynagh <[email protected]>**20091107223715] [Define CONF_CC_OPTS/CONF_LD_OPTS in bindists Ian Lynagh <[email protected]>**20091107211747] [Tweak how shell wrappers are built Ian Lynagh <[email protected]>**20091107205042] [Remove unused distrib/Makefile-bin-vars.in file Ian Lynagh <[email protected]>**20091107211817] [ghc-stage2 is now renamed to ghc when it is installed Ian Lynagh <[email protected]>**20091107183614 This means that we get the right program name in error messages etc. ] [Tweak the shell wrapper scripts Ian Lynagh <[email protected]>**20091107180502 We now separate the executable path from the executable name. This will allow us to change one but not the other easily. ] [mkdirhier now just calls mkdir -p Ian Lynagh <[email protected]>**20091107120847 The old shell code apparently didn't work properly with /bin/sh=dash ] [Update layout of error message slightly [email protected]**20091105120443 Ignore-this: 4761c9c79a6e200ab58f4d190eb4490e ] [Fix #3642: m GHC builds using the Haskell Platform Simon Marlow <[email protected]>**20091105141310 Ignore-this: a6b08420a01cfe8ac39c28898fa3c9b8 ] [Fix some bugs to do with tools in paths containing spaces Simon Marlow <[email protected]>**20091104164343 Ignore-this: d3f00d3b1b14d59feccbb4585301c17a Not everything is fixed yet; see #3642 ] [Always include libraries/dph/ghc.mk in top-level ghc.mk Roman Leshchinskiy <[email protected]>**20091104011908 Ignore-this: bb519641dd797cc674da8dcd1ea9dcec ] [Accept any non-space characters in a header file (#3624) Simon Marlow <[email protected]>**20091106102319 Ignore-this: 1fc9156c2bcd767d6f231a56440cbeb4 The FFI spec doesn't say exactly which characters may occur in a header file, so to be on the safe side we'll accept anything that isn't a space. ] [Fix the build Ian Lynagh <[email protected]>**20091106204927] [Refactor package installation Ian Lynagh <[email protected]>**20091103133322 There is now less makefile code duplication. Also, stage2 packages are registered after GHC, which is important as they might depend on the ghc package (as dph now does). ] [Make installation on *nix work for paths with spaces in their name Ian Lynagh <[email protected]>**20091105162300 This means we can remove some conditional stuff from the Makefiles, and means the testsuite doesn't have to work out whether or not it's on Windows. ] [add '-' to the chars allowed in C header file names Simon Marlow <[email protected]>**20091104144032 Ignore-this: 8832e49d56a75fae9f1651c07954fb0c ] [Fix non-portable regexp Roman Leshchinskiy <[email protected]>**20091104011830 Ignore-this: aa396bdd0ca904ec59969a2e8ba24d64 ] [Fix Trac #3640, plus associated refactoring [email protected]**20091105165525 Ignore-this: cf1f4ea1e8b75b4909ab395907de9eb3 In fixing this bug (to do with record puns), I had the usual rush of blood to the head, and I did quite a bit of refactoring in the way that duplicate/shadowed names are reported. I think the result is shorter as well as clearer. In one place I found it convenient for the renamer to use the ErrCtxt carried in the monad. (The renamer used not to have such a context, but years ago the typechecker and renamer monads became one, so now it does.) So now it's availble if you want it in future. ] [#3604: treat TH with -dynamic in the same way as -prof Simon Marlow <[email protected]>**20091104163039 Ignore-this: 2122ef7f452f4c3627fea8fe9d11a7f2 That is, you have to build the library/program without -dynamic first, to get plain object files, and then build it again with -dynamic. I still need to check whether any changes to Cabal are required to make this work. ] [Update docs on ticky-ticky profiling Simon Marlow <[email protected]>**20091105101503 Ignore-this: 7cdcd80f83a1fa557b1b852f995b2d8a ] [Finish #3439: -ticky implies -debug at link time; the ticky "way" has gone Simon Marlow <[email protected]>**20091104145507 Ignore-this: 9ca68e63bbc34c8f6f216efe27e259eb To get ticky profiling you still have to compile with -ticky (for those modules that you want to profile), but you can link with either -debug or -ticky. ] [Allow -ticky and -prof together [email protected]**20091020155201 Ignore-this: cddba709acd29968e0517a398e99b49c The two used to be incompatible, but they aren't any longer. In fact, -ticky should not be a 'way' any more, and doing that is on Simon M's todo list, but this patch takes us a little step closer. I'm not sure this is worth merging to the 6.12 branch. ] [GhciMonad.resume should restore the program's argv and progname Simon Marlow <[email protected]>**20091021125240 Ignore-this: 2ced5594fe32c2e3bc39dcbdabf04551 I discovered that single-stepping over getArgs gave the wrong answer sometimes, because we were forgetting to set the program's argv and progname when resuming at a breakpoint. Test is ghci.debugger/scripts/getargs.script. ] [Minor change to captalisation in error message only [email protected]**20091102172236 Ignore-this: 65cb215b313658ccdff6304360b33e62 ] [Improve error message for malformed LANGUAGE pragma [email protected]**20091030180114 Ignore-this: 984eefd9c0978b837f79d0f1a72564b9 ] [Improve documentation of 'rec' in do-notation [email protected]**20091102172217 Ignore-this: ab639f7fc2ec658edf2371797d669f36 Merge to 6.12 along with the main DoRec patch ] [Document the fact that impredicative polymorphism is deprecated [email protected]**20091103133344 Ignore-this: a91b61dd99783d7ca9f823009667c23f Merge to 6.12 ] [Drop unused import [email protected]**20091028175902 Ignore-this: e473d30a9844ae0a6d124c9352e6be4 ] [Deprecate the ImpredicativeTypes feature [email protected]**20091030095929 Ignore-this: b5dadc6be7f0c7bcbbf3691079f41dfb GHC has had an experimental implementation of impredicative polymorphism for a year or two now (flag -XImpredicativeTypes). But a) The implementation is ridiculously complicated, and the complexity is pervasive (in the type checker) rather than localized. I'm very unhappy about this, especially as we add more stuff to the type checker for type families. b) The specification (type system) is well-defined [1], but is also pretty complicated, and it's just too hard to predict which programs will typecheck and which will not. So it's time for a re-think. I propose to deprecate it in 6.12, and remove it altogether in 6.14. We may by then have something else to put in its place. (There is no lack of candidates [2,3,4]!) [1] http://research.microsoft.com/en-us/um/people/simonpj/papers/boxy/ [2] http://research.microsoft.com/en-us/um/people/crusso/qml/ [3] http://research.microsoft.com/en-us/um/people/daan/pubs.html [4] http://gallium.inria.fr/~remy/mlf/ ] [Fix formatting and wording in documentation of DoRec [email protected]**20091029114726 Ignore-this: ce528f2e73f38c244be4a38d83f52214 ] [Add 'rec' to stmts in a 'do', and deprecate 'mdo' [email protected]**20091028133554 Ignore-this: 7b77848c6283828869783ed61510ee1c The change is this (see Trac #2798). Instead of writing mdo { a <- getChar ; b <- f c ; c <- g b ; putChar c ; return b } you would write do { a <- getChar ; rec { b <- f c ; c <- g b } ; putChar c ; return b } That is, * 'mdo' is eliminated * 'rec' is added, which groups a bunch of statements into a single recursive statement This 'rec' thing is already present for the arrow notation, so it makes the two more uniform. Moreover, 'rec' lets you say more precisely where the recursion is (if you want to), whereas 'mdo' just says "there's recursion here somewhere". Lastly, all this works with rebindable syntax (which mdo does not). Currently 'mdo' is enabled by -XRecursiveDo. So we now deprecate this flag, with another flag -XDoRec to enable the 'rec' keyword. Implementation notes: * Some changes in Lexer.x * All uses of RecStmt now use record syntax I'm still not really happy with the "rec_ids" and "later_ids" in the RecStmt constructor, but I don't dare change it without consulting Ross about the consequences for arrow syntax. ] [Add flag -XExplicitForAll and document it [email protected]**20091007155251 Ignore-this: b61396beab4f6b47ce388c3aacf357ee This implements the Haskell Prime proposal http://hackage.haskell.org/trac/haskell-prime/wiki/ExplicitForall Flag is -XExplicitForAll Implied by Opt_RankNTypes, Opt_Rank2Types, Opt_ScopedTypeVariables, Opt_LiberalTypeSynonyms, Opt_ExistentialQuantification, Opt_PolymorphicComponents ] [Define BootingFromHc in bindists; fixes #3617 Ian Lynagh <[email protected]>**20091031084426 This variable is tested when deciding whether or not to add debug to the list of RTS ways, so it needs to be correctly defined. ] [Add ghc-cabal dependencies; fixes #3494 Ian Lynagh <[email protected]>**20091030211928] [Fix Trac #3626: TH should reject unboxed tuples [email protected]**20091030091928 Ignore-this: 409bacbcfb37b4d3dc75ecec71bcf484 This was just a missing test in DsMeta ] [Fix a dynamic linker bug that killed ghci on Snow Leopard Manuel M T Chakravarty <[email protected]>**20091029124159 Ignore-this: 67461b0969e3ff1b0d0c4f666ce473bc ] [Tidy up the parsing of comprehensions and improve locations [email protected]**20091028133653 Ignore-this: e9da5f8a60eaa23bc1c037f9c075a18f While I was dealing with 'rec' statements I did this tidy-up ] [Fix Trac #3591: very tricky specialiser bug [email protected]**20091023161551 Ignore-this: 705bf8d79fdf89b0a98f278de4303a8d There was a subtle bug in the interation of specialisation and floating, described in Note [Specialisation of dictionary functions]. The net effect was to create a loop where none existed before; plain wrong. In fixing it, I did quite a bit of house-cleaning in the specialiser, and added a lot more comments. It's tricky, alas. ] [Improvements to the gcc wrapper Ian Lynagh <[email protected]>**20091029115831 Add some comments and better error reporting ] [Don't "set -e" in configure.ac Ian Lynagh <[email protected]>**20091029010031 On some systems (bash 4?) configure fails because of it when "gcc -V" fails. ] [Add some &&s to configure Ian Lynagh <[email protected]>**20091029010125 so if the "cd" fails we don't charge on regardless. ] [Wrap gcc on Windows, to provide the -B flags Ian Lynagh <[email protected]>**20091027202503] [Add restrictVarEnv :: VarEnv a -> VarSet -> VarEnv a [email protected]**20091023161735 Ignore-this: c32b91755afd1cce99817a251702ef08 I needed it, and then didn't need it, so it's not currently called, but its generally useful kind of thing. ] [Use braces rather than angle-brackets in debug-printing for Bags [email protected]**20091023161631 Ignore-this: 687f858714593153362f0227f59b92f7 ] [Fix Trac #3590: a nasty type-checker bug in left/right sections [email protected]**20091020155540 Ignore-this: ae831f2a7fe8416e2c549df7616f7139 The bug related to the fact that boxyUnify (now) returns a coercion, which was simply being ignored. (TcExpr is clearly not warning-free wrt the unused-monadic-bind thing!) Anyway, it's fine now. I added a test case to the test suite. MERGE to 6.12 please. ] [Escape some $s in makefiles for consistency Ian Lynagh <[email protected]>**20091025132625] [Remove readline license info from OS X package Ian Lynagh <[email protected]>**20091024202858 We no longer ship readline ] [Fix a buglet in exprIsConApp_maybe Ian Lynagh <[email protected]>**20091024114616 Patch from Simon Peyton Jones. He write: exprIsConApp_maybe was returning 'Just' even for an unsaturated constructor application. This bit me in an experiment; although it doesn't seem to have been causing problems elsewhere. Committing this change to the 6.12 branch only; the HEAD is different because of the upcoming INLINE patch ] [Document that lazy I/O now throws exceptions Simon Marlow <[email protected]>**20091012154213 Ignore-this: dbb7557e351694a988761cc51f4f8c8e ] [findSpark: exit if there's a returning foreign call Simon Marlow <[email protected]>**20091009152920 Ignore-this: cd018bff306760486037da5a28def34d ] [Tweak to the way per-source-file options are specified Simon Marlow <[email protected]>**20091015122225 Ignore-this: 851228ecab11c0c481f3eaca59a582ce ] [Fix cross-reference [email protected]**20091020074213 Ignore-this: 68c6a73d8298c3f4f74a44123b5ab39b ] [Add some manual dependencies, and -fforce-recomp for Constants and PrimOps Simon Marlow <[email protected]>**20091015115120 Ignore-this: fd82e37b27db6d4196a497674a20e92f GHC's recompilation checker doesn't take into account #included files, which is really a bug. We work around it here by adding dependencies and using -fforce-recomp in a couple of places. ] [Fix several missing dependencies in ifFreeNames [email protected]**20091015120159 Ignore-this: bab527d292e384a9bfd3fce3a8325e8d These missing dependencies led to: ghc-stage1: panic! (the 'impossible' happened) (GHC version 6.13 for x86_64-unknown-linux): urk! lookup local fingerprint ghc-6.13:CgBindery.CgBindings{tc r4Z} Simon and I don't quite understand why I've encountered these while no one else has, but they are certainly bugs, and this patch certainly fixes them. Merge to 6.12 branch ] [Correct comment [email protected]**20091015115546 Ignore-this: e7da9f6067071c040bead3ce775eb33f ] [Fix FFI declaration checks Simon Marlow <[email protected]>**20091014140128 Ignore-this: 9e91f3bf8fddf7a59f9eacbfa96bb763 For GHCi, foreign labels should be allowed, but foreign export should be disallowed; both were previously wrong. ] [Fixes for cross-compiling to a different word size Simon Marlow <[email protected]>**20091014130612 Ignore-this: f5f1769ae247a3eb735662ea90926f96 This patch eliminates a couple of places where we were assuming that the host word size is the same as the target word size. Also a little refactoring: Constants now exports the types TargetInt and TargetWord corresponding to the Int/Word type on the target platform, and I moved the definitions of tARGET_INT_MAX and friends from Literal to Constants. Thanks to Barney Stratford <[email protected]> for helping track down the problem and fix it. We now know that GHC can successfully cross-compile from 32-bit to 64-bit. ] [Fix install when various DOC variables are empty Ian Lynagh <[email protected]>**20091013101530] [Fix install when INSTALL_LIBEXEC_SCRIPTS = "" Ian Lynagh <[email protected]>**20091013095243] [Fix install when INSTALL_LIBEXECS = "" Ian Lynagh <[email protected]>**20091013093917 This is the case on Windows (as we have no shell wrappers), and mingw's shell doesn't like an empty list of things in a "for" command. ] [Fix Trac #3600: Template Haskell bug in Convert [email protected]**20091020072616 Ignore-this: 92992568a8380d7664318c506d78d09d This bug was introduced when I added an optimisation, described in Note [Converting strings] in Convert.lhs. It was treating *all* empty lists as strings, not just string-typed ones! The fix is easy. Pls MERGE to stable branch. ] [Fix Trac #3263: don't print Hpc tick stuff unless -dppr-debug is on [email protected]**20091015114437 Ignore-this: 404c58c21b023adc85b7d8e2d2c884f7 In general, when pretty-printing HsSyn, we omit the extra info added by GHC (type appplications and abstractions, etc) when printing stuff for the user. But we weren't applying that guideline to the HsTick stuff for Hpc. This patch adds the necessary tests. ] [Fix #3579: avoid clashing with names of implicit bindings Simon Marlow <[email protected]>**20091014095153 Ignore-this: c38978208ca629d63c311a86e6334ff9 ] [micro-opt: replace stmGetEnclosingTRec() with a field access Simon Marlow <[email protected]>**20091014131727 Ignore-this: 5ca954541072cdd9e91656400db81d52 While fixing #3578 I noticed that this function was just a field access to StgTRecHeader, so I inlined it manually. ] [Fix #3578: return a dummy result when an STM transaction is aborted Simon Marlow <[email protected]>**20091014131619 Ignore-this: f8c1d879a38a9eb7699cefb8d458770d (see comment for details) ] [Do "set -e" in configure.ac Ian Lynagh <[email protected]>**20091023134122 So if something configure does fails, so does the whole configur script ] [Don't build PS/PDF docs when validating Ian Lynagh <[email protected]>**20091023143512 dblatex with miktex under msys/mingw can't build the PS and PDF docs, and just building the HTML docs is sufficient to check that the markup is correct, so we turn off PS and PDF doc building when validating. ] [Add a test to the unpulled patches in darcs-all Ian Lynagh <[email protected]>**20091023181521] [Add a test in darcs-all for old bytestring repositories Ian Lynagh <[email protected]>**20091006203342] [Explain why we check for LICENSE, not _darcs, in boot Ian Lynagh <[email protected]>**20091023174748] [Make a mingw tree from mingw tarballs Ian Lynagh <[email protected]>**20091023174443] [Check for failure when running wget Ian Lynagh <[email protected]>**20091020202516] [Add tarball syncing to darcs-all Ian Lynagh <[email protected]>**20091014162948 We now use it for libffi and the mingw tarballs ] [The -e flag now has a "SepArg" argument; fixes #3568 Ian Lynagh <[email protected]>**20091012134923 This means -e must be separated from its argument by a space. It therefore doesn't try to parse "-exclude-module" as "execute xclude-module". ] [Print warnings after doMkDependHS Ian Lynagh <[email protected]>**20091012132611 We weren't printing any warning for a commandline like ghc -M Foo.hs -optdep--exclude-module=Bar -fffi but the last 2 flags are both deprecated. ] [remove duplicate entry for -fwarn-unused-do-bind (#3576) Simon Marlow <[email protected]>**20091012110216 Ignore-this: a7fa8f53b223fe5abe8885b634edeae1 ] [fix markup Simon Marlow <[email protected]>**20091012083656 Ignore-this: 649ca712cbc361c1d6016d84d15e30d4 ] [Install libHSffi_p.a Ian Lynagh <[email protected]>**20091012101952] [More README updates Ian Lynagh <[email protected]>**20091012095142] [Update the README instructions for getting the source Ian Lynagh <[email protected]>**20091012094325] [Make ghci work with libraries compiled with -ticky [email protected]**20091008162752 Ignore-this: 97d2d10fbc5fa21afb1076920c1aec66 This is a follow up to the patch tha fixes Trac #3439. We had forgotten the dynamic linker, which needs to know all these ticky symbols too. ] [Only make the Windows installer if ISCC is set Ian Lynagh <[email protected]>**20091010160246 Now that we make bindists during validate, we can't assume that ISCC is available. ] [Update the list of happy/alex-generated files put in sdists Ian Lynagh <[email protected]>**20091010021300] [Remove the windres configure check, now that we use an in-tree windres Ian Lynagh <[email protected]>**20091008153244] [Remove FP_MINGW_GCC now that we use an in-tree gcc Ian Lynagh <[email protected]>**20091008153412] [Add the include files to bindists Ian Lynagh <[email protected]>**20091009215604] [Tweak how bindistprep is created and cleaned Ian Lynagh <[email protected]>**20091009203803] [When validating, run the testsuite with the bindisttest compiler Ian Lynagh <[email protected]>**20091009203125] [Don't remake the bindist when validating with --testsuite-only Ian Lynagh <[email protected]>**20091009200955] [Fix dependencies for the RTS Simon Marlow <[email protected]>**20091006155059 Ignore-this: 627b7552fa8b84a78f85d16c05d99d20 Evac_thr.c and Scav_thr.c had no dependencies ] [Packages are only shadowed if the InstalledPackageId is *different* Simon Marlow <[email protected]>**20091006154940 Ignore-this: dc1b9417bc4d75206a18e4ee979370ff If the two InstalledPackageIds are the same, then the packages are interchangeable and we don't need to explicitly remove one of them. ] [Make the Windows installer in bindistprep/ Ian Lynagh <[email protected]>**20091007131839] [MERGED: Make the unpleasant sed one-liner less unpleasant Ian Lynagh <[email protected]>**20091007131648 Matthias Kilian <[email protected]>**20091007101239 ] [Update bin-package-db's Cabal dep Ian Lynagh <[email protected]>**20091006160633] [follow changes in Distribution.Simple.PackageIndex API Simon Marlow <[email protected]>**20091006131456 Ignore-this: ae072de9e355b794a3a3222a34e0be48 ] [Add --supported-languages support to dummy-ghc Ian Lynagh <[email protected]>**20091004211035 We used to call the bootstrapping compiler to get its --supported-languages but that doesn't work when it doesn't support all the extensions that we need. In particular, compiling the new bytestring which needs NamedFieldPuns broken when building with 6.8.2. There's now a rather ugly sed script to extract the extensions from DynFlags.hs. ] [Update to the 0.9.1.5 bytestring release Ian Lynagh <[email protected]>**20091004184930] [Make the bindist AC_INIT line match the main configure script's Ian Lynagh <[email protected]>**20091004103908 This means that PACKAGE_TARNAME gets set, so the default docdir is correct. ] [add missing id="ffi-prim" Simon Marlow <[email protected]>**20091002151457 Ignore-this: b3edbbee2de1c19440870e9ccf560bc7 ] [Fix typo in comment Ian Lynagh <[email protected]>**20091002212605] [Don't build haddock if HADDOC_DOCS = NO, and disable HADDOC_DOCS if GhcWithInterpreter = NO Matthias Kilian <[email protected]>**20090920181319 Ignore-this: 1268ae31d74e746b09287814ee435f65 Haddock uses TcRnDriver.tcRnGetInfo, which is only available if GHCI is built. Set HADDOC_DOCS to NO if GhcWithInterpreter is NO, and disable the haddock build if HADDOC_DOCS = NO. ] [Use INSTALL_DIR, not MKDIRHIER, when installing Ian Lynagh <[email protected]>**20091002152246] [Fix pretty-printing precedence for equality constraints [email protected]**20091002111549 Ignore-this: 9c5347975db3d23bf64057c64cd7856f ] [Document -XMonoLocalBinds [email protected]**20091002111400 Ignore-this: ed8b57fb02690d78fbee99961ed8ab1c ] [Combine treatment of vanialla/GADT data decls, and fix assert failure [email protected]**20091002072109 Ignore-this: 392c4b36a5fd43b1c93122683abc0321 ] [Fix Trac #3540: malformed types [email protected]**20090930104703 Ignore-this: bbd5543b88e6beadd1a9ae9d0ebce15e Tidy up the way that predicates are handled inside types ] [System.Console.Terminfo isn't available when bootstrapping. Matthias Kilian <[email protected]>**20090930212629 Ignore-this: 4793dc492b4b5b11019f96e2325be9d2 ] [The Windows installer now needs to get its files from bindistprep/ Ian Lynagh <[email protected]>**20090930224746] [We no longer need to specify the gcc and ld location when validating Ian Lynagh <[email protected]>**20090930210502 on Windows, as they are now in-tree ] [Remove long rotted configure support for Windows DLLs [email protected]**20090926103610] [Follow renaming of binary to ghc-binary. Matthias Kilian <[email protected]>**20090929212110 Ignore-this: f28a7deafa283ef1c9c57ed38a90dbbf ] [No need to use -split-objs with dynamic libraries Simon Marlow <[email protected]>**20090929103811 Ignore-this: ad0c08809191c99ff9d3bfce88b77aee ] [Fix some missing unfoldings (foldr in particular!) Simon Marlow <[email protected]>**20090929102745 Ignore-this: 39c9b075f523e210cf4a5fb9db438d05 The changes I made to the tidier recently introduced a serious regression: the unfoldings for bindings in a recursive group were sometimes lost, because we were looking at Id occurrences rather than Id binders, and the occurrences of recursive Ids do not necessarily have unfoldings attached. ] [Don't put library tarballs etc in the GHC source tarballs Ian Lynagh <[email protected]>**20090929152952] [Switch to a released haskeline tarball Ian Lynagh <[email protected]>**20090929144953] [Don't install haskeline/mtl/terminfo, and hide ghc-binary Ian Lynagh <[email protected]>**20090929144324] [Rename binary to ghc-binary Ian Lynagh <[email protected]>**20090929124617] [Fix making Windows bindist and installer Ian Lynagh <[email protected]>**20090929012717] [emitRetUT: cope with arguments overlapping with results (#3546) Simon Marlow <[email protected]>**20090928124455 Ignore-this: 899c4be65a7c31d05bf5e79ea423147e In decodeFloat_Int# we have the C-- code: mp_tmp1 = Sp - WDS(1); mp_tmp_w = Sp - WDS(2); /* arguments: F1 = Float# */ arg = F1; /* Perform the operation */ foreign "C" __decodeFloat_Int(mp_tmp1 "ptr", mp_tmp_w "ptr", arg) []; /* returns: (Int# (mantissa), Int# (exponent)) */ RET_NN(W_[mp_tmp1], W_[mp_tmp_w]); Which all looks quite reasonable. The problem is that RET_NN() might assign the results to the stack (with an unregisterised back end), and in this case the arguments to RET_NN() refer to the same stack slots that will be assigned to. The code generator should do the right thing here, but it wasn't - it was assuming that it could assign the results sequentially. A 1-line fix to use emitSimultaneously rather than emitStmts (plus comments). ] [fix cut-and-paste bugs in .cmm -> .hc/.s rules Simon Marlow <[email protected]>**20090928115139 Ignore-this: fe9a834cb94b53c7d4d6dc238c0d348d ] [Add a way to generate tracing events programmatically Simon Marlow <[email protected]>**20090925150243 Ignore-this: 7f17f3474b06a1fb4a527c62e003e7aa added: primop TraceEventOp "traceEvent#" GenPrimOp Addr# -> State# s -> State# s { Emits an event via the RTS tracing framework. The contents of the event is the zero-terminated byte string passed as the first argument. The event will be emitted either to the .eventlog file, or to stderr, depending on the runtime RTS flags. } and added the required RTS functionality to support it. Also a bit of refactoring in the RTS tracing code. ] [Run bindisttest when validating Ian Lynagh <[email protected]>**20090928173323] [Follow bindist changes in bindisttest Ian Lynagh <[email protected]>**20090927215031 Also add support for testing the bindistprep tarball, for when we are validating. ] [More bindist tweaking Ian Lynagh <[email protected]>**20090927212114] [Add a $(MAKE_RESTARTS) check to ghc.mk Ian Lynagh <[email protected]>**20090927202603 This should catch make going into an infinite loop. ] [Don't use absolute paths unnecessarily when making bindists Ian Lynagh <[email protected]>**20090927193528] [Change where bindists are made Ian Lynagh <[email protected]>**20090927191740 We now do all the hard work in a bindistprep subdirectory, and just move the result to the root directory. This way we can delete anything in bindistprep/ without worrying about deleting anything important. ] [Fix building of the RTS with the NCG under Windows [email protected]**20090926075507] [Use $topdir in the RTS's package.conf file when doing a relocatable build Ian Lynagh <[email protected]>**20090927145309] [Fix invoking windres in a directory containing spaces Ian Lynagh <[email protected]>**20090927144119] [Add support for relocatable builds in the new build system Ian Lynagh <[email protected]>**20090927010605] [Update the OS X package build scripts Ian Lynagh <[email protected]>**20090925132151 The docs are no longer built and installed separately. ] [Make some sed more portable: Use \{0,1\} instead of \? Ian Lynagh <[email protected]>**20090924171025] [We now tell the linker macosx_version_min is 10.5; trac #3521 Ian Lynagh <[email protected]>**20090924162450 We used to say 10.3, but this gives -rpath can only be used when targeting Mac OS X 10.5 or later when building shared libraries. Patch from mwotton. ] [Errors talking about a left section should refer to the "first" argument Ian Lynagh <[email protected]>**20090924124128 rather than the "second" argument. Fixes trac #3505. ] [Make count_lines work with the new directory layout Ian Lynagh <[email protected]>**20090923182251] [Add count_lines back into the repo Ian Lynagh <[email protected]>**20090923174945] [Remove a haskeline release note that doesn't apply to ghci Ian Lynagh <[email protected]>**20090923145130 Spotted by Judah. ] [fix warnings Simon Marlow <[email protected]>**20090923125059 Ignore-this: 6cc0a727c7a55a5bf79b0190c47666de ] [Add erf, erfc, erfff, erfcf (#3536) Simon Marlow <[email protected]>**20090923105240 Ignore-this: 4c90186bf779bec6b9c72e2989a1876a ] [Various updates/additions Simon Marlow <[email protected]>**20090923094647 Ignore-this: 7551a50a3f7723f21bc8c17e4c827764 ] [Document -package-id, and use the term "package ID" consistently Simon Marlow <[email protected]>**20090923094639 Ignore-this: 234a5a2840b7a9608c9a5d4bc475080f ] [Make it so that -Ds implies -ls Simon Marlow <[email protected]>**20090923105119 Ignore-this: 52662a8e69ff4b8e8d9a07e4ca3e181 ] [remove "touch %_hsc.c" - what was it for? Simon Marlow <[email protected]>**20090921155720 Ignore-this: 48d5d7ad35e1f2bdcebf4e197d46c609 ] [Set the version number to 6.12.0 Ian Lynagh <[email protected]>**20090922105641] [TAG 6.12-branch created Ian Lynagh <[email protected]>**20090922104027] Patch bundle hash: 2f0a09c5797c2b2251ae23c8f8c191236b9b8121
_______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
