1. 13 Aug, 2004 3 commits
  2. 12 Aug, 2004 7 commits
  3. 10 Aug, 2004 3 commits
    • simonmar's avatar
      [project @ 2004-08-10 14:36:25 by simonmar] · 85511088
      simonmar authored
      Windows fixes.  There were some strange things going on with Windows
      installation directories - I'm sure I've mucked up whatever was
      happening with 'make install' for GHC on Windows, but there were
      defintitely some bugs in here.  eg. we shouldn't have been setting
      datadir to $(prefix)/imports unconditionally on Windows.
      
      Make install now works for Happy, Alex and Haddock.  GHC probably
      needs a bit of tweaking to get it working again.
      85511088
    • simonmar's avatar
      [project @ 2004-08-10 13:51:25 by simonmar] · cc33dd28
      simonmar authored
      Add $(Windows), which is "YES" if the host platform is a Windows
      platform (mingw32 or cygwin32), and "NO" otherwise.
      cc33dd28
    • simonmar's avatar
      [project @ 2004-08-10 09:02:36 by simonmar] · c9a32c38
      simonmar authored
      Fix problem with inline foreign-call changes yesterday.  Foreign call
      args sometimes have to be modified using shimFCallArg - nowadays this
      is done at code generation time, whereas it used to be done at
      pretty-printing time.
      c9a32c38
  4. 09 Aug, 2004 4 commits
    • simonmar's avatar
      [project @ 2004-08-09 14:27:53 by simonmar] · 05881eca
      simonmar authored
      Two changes:
      
        - newly created or unblocked threads go to the back of the run
          queue.  This is fairer because it avoids possible starvation.
          Fixes problem with conc004 test going much slower with optimisation.
      
        - The context switch flag is only reset after a yield.  Previously,
          it was being reset before we ran a thread, which meant that a tick
          that arrived during GC would be lost, and a thread doing lots of
          GC could hog the CPU.  Now, GC is effectively counted as part of
          the last running thread's timeslice.
      
      MERGE TO STABLE.
      05881eca
    • simonmar's avatar
      [project @ 2004-08-09 13:19:29 by simonmar] · 46d88d87
      simonmar authored
      Allow case-of-unsafe-ccall to compile to straight-line code, like it
      used to.  This has already been fixed on the backend-hacking-branch,
      but I'm doing it here so that it can be merged into the STABLE branch,
      where it will help to work around a bug.
      
      The bug is in CgExpr.lhs:primRetUnboxedTuple, which picks temporaries
      to assign the result of a ccall to.  The Cg monad doesn't have a uniq
      supply (in the HEAD), so we always pick the same temporaries.  This
      leads to clashes in complex function with multiple ccalls.  Again,
      this is already fixed in the backend-hacking-branch.  I don't see an
      easy fix for this bug.
      
      The compilation of case-of-unsafe-ccall doesn't suffer from this
      problem, and it will help work around some cases of the bug, so I'm
      going to merge this onto the STABLE branch after some testing.
      46d88d87
    • simonmar's avatar
      [project @ 2004-08-09 12:35:02 by simonmar] · a8601d0e
      simonmar authored
      Fix scoped type variable example.
      a8601d0e
    • simonmar's avatar
      [project @ 2004-08-09 12:15:09 by simonmar] · dfd0efbe
      simonmar authored
      Put a "-- " before the location info, since the rest of the output
      looks like Haskell source.
      dfd0efbe
  5. 08 Aug, 2004 2 commits
  6. 06 Aug, 2004 1 commit
  7. 05 Aug, 2004 1 commit
  8. 02 Aug, 2004 1 commit
  9. 30 Jul, 2004 2 commits
  10. 28 Jul, 2004 2 commits
  11. 23 Jul, 2004 1 commit
  12. 21 Jul, 2004 4 commits
  13. 19 Jul, 2004 3 commits
  14. 15 Jul, 2004 2 commits
  15. 12 Jul, 2004 1 commit
  16. 09 Jul, 2004 2 commits
  17. 29 Jun, 2004 1 commit
    • panne's avatar
      [project @ 2004-06-29 17:14:01 by panne] · b1d4bb55
      panne authored
      Workaround for hbc: It compiles matching against 0-ary constructors in
      list comprehensions into wrong code, e.g.
      
         [ () | True <- [False] ]
      
      results in something like
      
         Error: No match in I4680Pinteractive
      
      when issued in hbi.
      b1d4bb55