1. 24 May, 2004 1 commit
  2. 22 May, 2004 2 commits
    • panne's avatar
      [project @ 2004-05-22 12:27:38 by panne] · 4a41cd9a
      panne authored
      Reverse the order in which DLLs are loaded. This makes more sense in general and
      should fix the trouble with the broken OpenGL libs on Gentoo. This fix has been
      tested on x86 Linux, but reports from other platforms (WinDoze, MacOS X, ...)
      are highly welcome, dynamic linking is quite platform-specific and surprising
      things can happen from time to time...
      Merge to STABLE when tested on other platforms
    • dons's avatar
      [project @ 2004-05-22 01:43:37 by dons] · 94b639b8
      dons authored
      Add x86_64-*-openbsd* as synonym for amd64-*-openbsd.
      Which one you get depends on which config.sub we have, and newer
      (2004-*) config.subs normalise all amd64s to x86_64s.
  3. 21 May, 2004 2 commits
    • simonmar's avatar
      [project @ 2004-05-21 13:28:59 by simonmar] · 89f9f089
      simonmar authored
      Fix yet another bug in the THUNK_SELECTOR code.  Interestingly, I
      spotted this one earlier but left a ToDo in the code rather than
      fixing it (I think I wasn't sure whether it could happen or not).
      The bug is to close another another way that eval_thunk_selector()
      could return a pointer into to-space.  See comments for details.
    • geoffw's avatar
      [project @ 2004-05-21 09:25:03 by geoffw] · 0479146d
      geoffw authored
      mingw/msys fix: keep .lcomm directives
  4. 20 May, 2004 1 commit
  5. 19 May, 2004 1 commit
  6. 18 May, 2004 1 commit
  7. 15 May, 2004 1 commit
  8. 12 May, 2004 2 commits
    • simonpj's avatar
      [project @ 2004-05-12 13:01:30 by simonpj] · 3d4c49bb
      simonpj authored
      Tidy-up only; behaviour unchanged
    • simonpj's avatar
      [project @ 2004-05-12 12:55:12 by simonpj] · 825fba2a
      simonpj authored
      	Another delicate fix to the way that the
      	Dreaded Monomorpism Restriction is handled
           I think this should merge nicely to the STABLE branch
      In TcSimplify 1.130 I changed tcSimplifyRestricted (used for
      declarations that fall under the monomorphism restriction) to use Plan
      C.  Unfortunately, it later transpired that George Russel and Serge
      Mechveliani both made somewhat-dubious use of overlapping instances
      that conflicted with this change. Here's the example
        instance (HasBinary ty IO) => HasCodedValue ty
        foo :: HasCodedValue a => String -> IO a
        doDecodeIO :: HasCodedValue a => () -> () -> IO a
        doDecodeIO codedValue view = let { act = foo "" } in  act
      You might think this should work becuase the call to 'foo' in the last
      line gives rise to a constraint (HasCodedValue t), which can be
      satisfied by the type sig for doDecodeIO.  But the restricted binding
      act = ... calls tcSimplifyRestricted, and Plan C simplifies the
      constraint using the (rather bogus) instance declaration, and now we
      are stuffed.
      This commit implements Plan D, which is like plan B except that it does no
      improvement, and hence avoids plan B's flaw.  See the comments with Plan D.
      The only criticism one might make of Plan D is that it may sometimes quantify
      a restricted binding over "too few" type variables; but one can solve that
      by adding a type sig.  So this seems better than the very subtle problems
      with Plan C.
      All of this is very much at the margin: George and Sergey are pushing
      their luck.
  9. 11 May, 2004 2 commits
  10. 10 May, 2004 3 commits
    • simonmar's avatar
      [project @ 2004-05-10 11:53:41 by simonmar] · 318f8bc4
      simonmar authored
      Fix mishandling of the BF_COMPACTED flag, which could lead to problems
      when using the compacting collector (+RTS -c, or +RTS -M<size>).  In
      fact, I'm not sure how it worked at all.
    • simonmar's avatar
      [project @ 2004-05-10 10:26:07 by simonmar] · d28ae8e1
      simonmar authored
      Hack to generate correct dependencies for the RTS.  We now #define
      PROFILING, THREADED_RTS and DEBUG when generating dependencies so that
      we get (hopefully) a superset of all the deps.
    • simonmar's avatar
      [project @ 2004-05-10 10:05:34 by simonmar] · 0181a93d
      simonmar authored
      In multiple declaration errors, give the location of one of the
      declarations as the location of the error message, instead of the
      top-level of the file.
  11. 09 May, 2004 1 commit
  12. 08 May, 2004 2 commits
  13. 07 May, 2004 4 commits
    • panne's avatar
      [project @ 2004-05-07 21:19:21 by panne] · 70b3bd34
      panne authored
      GCC's __attribute__ handling seems to be a little bit stricter with GCC 3.3.3:
         * When a function declaration uses it, the corresponding definition has to
           use it, too.
         * Syntactically it is allowed only at the beginning of the function
      Let's hope that the current syntax is backwards compatible...
    • simonpj's avatar
      [project @ 2004-05-07 14:06:45 by simonpj] · 250be0a3
      simonpj authored
      	Make sure that GHCi loads all
      	necessary orphan-instance modules
      When you do :m A, we need to load any orphan-instance modules
      below A.  That's easily done, but had been forgotten.
      	Do not merge to stable: the fix is different there
    • simonpj's avatar
      [project @ 2004-05-07 14:06:12 by simonpj] · cd837518
      simonpj authored
      White space
    • simonmar's avatar
      [project @ 2004-05-07 11:23:56 by simonmar] · ea480db3
      simonmar authored
      make a SrcSpan for the whole file that is not "unhelpful"
  14. 06 May, 2004 15 commits
  15. 05 May, 2004 2 commits