1. 11 Aug, 2005 4 commits
    • simonpj's avatar
      [project @ 2005-08-11 09:20:49 by simonpj] · 81d9bd68
      simonpj authored
      Further wibbles to moving dependency analysis back to renamer; fixes ghci failures
    • simonpj's avatar
      [project @ 2005-08-11 08:45:41 by simonpj] · ea5ae017
      simonpj authored
      Wibble; fixes TH failures
    • simonpj's avatar
      [project @ 2005-08-11 08:22:11 by simonpj] · 75069956
      simonpj authored
      Fix bogon in reporting of duplicate sigs; make mod68 work again
    • simonpj's avatar
      [project @ 2005-08-11 08:04:33 by simonpj] · 89627230
      simonpj authored
      Do 'tidying' on Kinds before printing them.  This avoids printing
      stuff like 'k_43b' in user error messages.
      To do this, I ended up adding an OccName to Kind.KindVar.  Even
      then the implementation is a bit of hack (see comments with 
      Type.tidyKind).  Still, it's a highly localised hack, whereas the
      "right thing" entails making KindVar into a flavour of Var, which
      seems like an uncomfortably big change.
         I think this change can merge to the stable branch
  2. 10 Aug, 2005 5 commits
  3. 09 Aug, 2005 5 commits
  4. 04 Aug, 2005 3 commits
    • simonmar's avatar
      [project @ 2005-08-04 11:23:42 by simonmar] · f5aeb6b5
      simonmar authored
      callSiteInline: consider inlining even the once-in-one-branch
      occurrences.  See comment for details.
    • simonmar's avatar
      [project @ 2005-08-04 11:18:41 by simonmar] · e1dbfe8a
      simonmar authored
      preInlineUnconditionally: replace exprIsValue call with home-grown
      version to fix loss-of-sharing that arises because exprIsValue doesn't
      necessarily mean "ok to inline inside a lambda".  Fixes last night's
      10queens test failures.
    • wolfgang's avatar
      [project @ 2005-08-04 02:09:36 by wolfgang] · b655405a
      wolfgang authored
      Check for RTLD_DEFAULT in dlfcn.h and use it if it is available.
      (On Mac OS X its value is -2, and using NULL instead does not work.)
  5. 03 Aug, 2005 6 commits
    • simonmar's avatar
      [project @ 2005-08-03 15:16:14 by simonmar] · f2ec1d28
      simonmar authored
      fix bogus #ifdef in defaultHscTarget
    • simonmar's avatar
      [project @ 2005-08-03 13:53:35 by simonmar] · cfd9e9b3
      simonmar authored
      Patch from SimonPJ (slightly tweaked by me after checking performance
      Fix occasional O(n^2) behaviour in the simplifier.  There was a
      possibility that by inlining a binding, we could re-simplify an
      arbitrary sized expression.  This patch fixes it by moving the
      inlining of arbitrary-sized expressiong to the binding site
      (preInlineUnconditionally), so the decision to inline happens before
      simplifying the RHS.  To do this, we have to collect more information
      during the occurrence analysis phase.
      We still make inlining decisions at the call site, but they are always
      size-limited, so we can't get quadratic blowup.
    • simonmar's avatar
      [project @ 2005-08-03 10:42:53 by simonmar] · 34495a28
      simonmar authored
      Fix the location of _stub.o files when compiling with -odir.  The
      comment from the source:
      -- The _stub.c file is derived from the haskell source file (but stored
      -- in hscStubCOutName in the dflags for some reason, probably historical).
      -- Consequently, we derive the _stub.o filename from the haskell object
      -- filename.
      -- This isn't necessarily the same as the object filename we
      -- would get if we just compiled the _stub.c file using the pipeline.
      -- For example:
      --    ghc src/A.hs -odir obj
      -- results in obj/A.o, and src/A_stub.c.  If we compile src/A_stub.c with
      -- -odir obj, we would get obj/src/A_stub.o, which is wrong; we want
      -- obj/A_stub.o.
    • simonmar's avatar
      [project @ 2005-08-03 09:43:06 by simonmar] · 5cc19c6a
      simonmar authored
      Update documentation for ghc-pkg list and ghc-pkg latest.
    • simonmar's avatar
      [project @ 2005-08-03 09:34:55 by simonmar] · 95a8c303
      simonmar authored
      Tidyup, and make all the commands that take a package identifier
      behave the same.  Previously, naming a package without a version
      number only matched the same package identifier, if you wanted to
      match multiple packages you had to say P-*.  However, the new list and
      latest commands behave differently, which was inconsistent.
      I believe the previous behaviour was for backwards compatibility with
      packages that had no version number.  However, it's unlikely that this
      is ever useful, so I've changed the semantics so that a package name
      on its own matches all versions of that package.
    • simonmar's avatar
      [project @ 2005-08-03 09:13:32 by simonmar] · 53670972
      simonmar authored
      - Add "ghc-pkg list <pkg>" to list packages matching <pkg>
      - Add "ghc-pkg latest <pkg>" to show the latest version of <pkg>
      - Add --simple-output option to produce a more easily slurpable output
        from ghc-pkg list.
      Patch from Lennart Kolmodin <kolmodin at dtek.chalmers.se>
  6. 02 Aug, 2005 11 commits
  7. 01 Aug, 2005 3 commits
  8. 29 Jul, 2005 1 commit
    • sof's avatar
      [project @ 2005-07-29 20:21:50 by sof] · b3de318b
      sof authored
      win32/AsyncIO.c:onIOComplete(), awaitRequests():
        Avoid completion table overflow through the use of
        a semaphore. Worker threads (the producers) wait for a free
        event slot to appear, the RTS thread (consumer) signal slot
        availability once the completion event has been de-queued and
        This bug only manifests itself in 'massively concurrent' code
        (>200 threads), where the threads simultaneously engage in IO
        through the async IO layer. conc023 and conc036 in the regression
        test suite are examples of such.
      Merge to STABLE.
  9. 28 Jul, 2005 2 commits