1. 31 Jul, 2002 2 commits
  2. 30 Jul, 2002 3 commits
  3. 29 Jul, 2002 8 commits
    • simonpj's avatar
      [project @ 2002-07-29 16:12:07 by simonpj] · 90b4aa6c
      simonpj authored
      ** MERGE TO STABLE **
      1. Make TidyPgm forget IdInfo for exported things.  This is
         really important for the recompilation checker; see the
         commment with TidyPgm.tidyTopIdInfo
         Fixes a bug reported by Sigbjorn.
      2. Make CoreToStg more robust, by avoiding the duplicate
         calculation of update flag for top-level closures
    • simonpj's avatar
      [project @ 2002-07-29 16:08:20 by simonpj] · ae54d9e7
      simonpj authored
      Comment only
    • simonpj's avatar
      [project @ 2002-07-29 13:19:52 by simonpj] · 4bca2e7f
      simonpj authored
      ** MERGE TO STABLE **
      Fix an alpha-renaming bug in hoistForAlls
    • simonpj's avatar
      [project @ 2002-07-29 12:22:37 by simonpj] · 2ddea0a8
      simonpj authored
      Surprisingly large delta to make rebindable names work properly.
      I was sloppily not checking the type of the user-supplied name,
      and Ashley Yakeley's first experiment showed up the problem!
      Solution: typechecker has to check both the 'standard' name and
      the 'user' name and check the latter has a type compatible with the
      The main comment is with Inst.tcSyntaxName (a new function).
    • simonmar's avatar
      [project @ 2002-07-29 11:22:31 by simonmar] · 94f8d8ae
      simonmar authored
      Back out previous commit; -static is on by default and we don't want
      to always pass -static to the linker.
    • simonmar's avatar
      [project @ 2002-07-29 10:50:43 by simonmar] · 5bca7237
      simonmar authored
      Type variables created by the typechecker didn't have the correct
      NameSpace: they were in the Var namespace rather than the TyVar
      namespace, which can lead to strange warnings about quantified type
      variables being not mentioned in the type when DEBUG is on.
      	- added mkSystemNameEncoded for use when the string
      	  is already encoded (saves re-encoding the string every
      	- added mkSystemTvNameEncoded for making a type variable
      	  name, as above
      	- use mkSystemTvNameEncoded when making type variables
      	- add mkSysLocalUnencoded for the (rare) case when
      	  the string needs encoding
      	- use mkSystemTvNameEncoded rather than mkSystemName for
      	  making type variables
      	- use mkSysLocalUnencoded since the names generated here
      	  need encoding.
    • simonmar's avatar
      [project @ 2002-07-29 10:42:29 by simonmar] · 157cecc7
      simonmar authored
      Add -static to the linker command line when -static is passed to GHC.
      At some point we might want a way to say that Haskell libraries should
      be linked statically but everything else should be linked as normal,
      but since we aren't really supporting dynamic Haskell libraries at
      this time, we don't need to address that yet.
    • simonpj's avatar
      [project @ 2002-07-29 09:11:04 by simonpj] · ca667fbb
      simonpj authored
      More informative crash in rdrNameModule
  4. 28 Jul, 2002 3 commits
  5. 26 Jul, 2002 2 commits
    • simonmar's avatar
      [project @ 2002-07-26 09:35:46 by simonmar] · cecac854
      simonmar authored
      Always return 8-byte-aligned memory from arenaAlloc().  Fixes problems
      with profiling on sparc-sun-solaris2, and might fix problems with
      Windows too.
    • sof's avatar
      [project @ 2002-07-26 03:06:58 by sof] · 6b269a43
      sof authored
      interactiveLoop{mingw32}: always show prompt under mingw.
      hIsTerminalDevice returns True iff stdin is connected to a Console
      under Win32. Which it is when running in a command shell
      (DOS,bash etc.), but Emacs sub-shells don't get a Console of their
      own when invoked. So, just disable this feature (whose motivation
      somewhat escapes me.)
  6. 25 Jul, 2002 2 commits
    • sof's avatar
      [project @ 2002-07-25 18:36:59 by sof] · d9d8ab15
      sof authored
      Expose printAllThreads() in non-DEBUG builds;
      of some use when debugging ConcHask code and
      want a dump of the current state of the system's
      Not provided via a library, so to use, do
       foreign import call unsafe printAllThreads :: IO ()
    • simonmar's avatar
      [project @ 2002-07-25 14:47:30 by simonmar] · 80a99ae2
      simonmar authored
      Add -ddump-minimal-imports (not sure why this was missing)
  7. 24 Jul, 2002 5 commits
  8. 23 Jul, 2002 11 commits
  9. 22 Jul, 2002 3 commits
  10. 21 Jul, 2002 1 commit
    • panne's avatar
      [project @ 2002-07-21 11:46:34 by panne] · 026fa45f
      panne authored
      Long explanation for small commit:
      With the recent reorganization of #includes, things get a little bit
      fragile: When gcc with -O is used, glibc's <stdio.h> defines a few
      inline functions (see <bits/stdio.h>), and "Stg.h" defines some global
      variables which reside in registers. But the latter must happen
      *before* any function definition has been seen, otherwise the
      generated code could be invalid. Consequently gcc complains like:
         In file included from Stg.h:182,
                          from mkNativeHdr.c:12:
         Regs.h:293: global register variable follows a function definition
         Regs.h:302: global register variable follows a function definition
      The solution is quite simple: Always #include "Stg.h" *before* any
      system headers.