1. 05 Sep, 2002 3 commits
    • simonmar's avatar
      [project @ 2002-09-05 16:26:33 by simonmar] · 8435b2e4
      simonmar authored
      Fix for infinite loop when there is a THUNK_SELECTOR which eventually
      refers to itself, such as might be generated by code like
      
      	let x = (fst x, snd x) in ...
      
      At the same time, I re-enabled the code to traverse multiple selector
      thunks with bounded depth, because I believe it now works.
      
      MERGE TO STABLE (but test thoroughly in the HEAD first, this is
      fragile stuff)
      8435b2e4
    • simonmar's avatar
      [project @ 2002-09-05 10:25:01 by simonmar] · 5ac854ef
      simonmar authored
      In code style, print negative floating point literals in parentheses
      to avoid interacting with surrounding syntax.
      
      Fixes SourceForge bug #604849
      
      MERGE TO STABLE
      5ac854ef
    • simonmar's avatar
      [project @ 2002-09-05 08:58:55 by simonmar] · ed6e7225
      simonmar authored
      Remove RtsAPIDeprec.c, since this is causing grief.  The upshot (I
      think) is that you won't be able to do foreign import "wrapper" with
      an Addr in the type.
      ed6e7225
  2. 04 Sep, 2002 4 commits
  3. 03 Sep, 2002 6 commits
  4. 02 Sep, 2002 5 commits
  5. 01 Sep, 2002 1 commit
  6. 30 Aug, 2002 3 commits
  7. 29 Aug, 2002 5 commits
    • simonmar's avatar
      [project @ 2002-08-29 15:44:11 by simonmar] · ce9687a5
      simonmar authored
      Housekeeping:
      
        - The main goal is to remove dependencies on hslibs for a
          bootstrapped compiler, leaving only a requirement that the
          packages base, haskell98 and readline are built in stage 1 in
          order to bootstrap.  We're almost there: Posix is still required
          for signal handling, but all other dependencies on hslibs are now
          gone.
      
          Uses of Addr and ByteArray/MutableByteArray array are all gone
          from the compiler.  PrimPacked defines the Ptr type for GHC 4.08
          (which didn't have it), and it defines simple BA and MBA types to
          replace uses of ByteArray and MutableByteArray respectively.
      
        - Clean up import lists.  HsVersions.h now defines macros for some
          modules which have moved between GHC versions.  eg. one now
          imports 'GLAEXTS' to get at unboxed types and primops in the
          compiler.
      
          Many import lists have been sorted as per the recommendations in
          the new style guidelines in the commentary.
      
      I've built the compiler with GHC 4.08.2, 5.00.2, 5.02.3, 5.04 and
      itself, and everything still works here.  Doubtless I've got something
      wrong, though.
      ce9687a5
    • simonpj's avatar
      [project @ 2002-08-29 13:38:45 by simonpj] · 4a851c82
      simonpj authored
      Fix eta-expansion bug, which led to an infinite loop in
      CoreUtils.etaExpand. This showed up when compiling FranTk.
      
      		MERGE TO STABLE
      4a851c82
    • simonmar's avatar
      [project @ 2002-08-29 12:57:34 by simonmar] · c5e353d4
      simonmar authored
      Add notes about DEBUG and GHCI.
      c5e353d4
    • simonmar's avatar
      [project @ 2002-08-29 11:52:42 by simonmar] · c94ec2c0
      simonmar authored
      update (readline has moved)
      c94ec2c0
    • simonmar's avatar
      [project @ 2002-08-29 11:47:46 by simonmar] · a7ae6708
      simonmar authored
      Add a ToDo note.
      a7ae6708
  8. 28 Aug, 2002 5 commits
  9. 27 Aug, 2002 3 commits
    • simonmar's avatar
      [project @ 2002-08-27 09:38:43 by simonmar] · c79b5b17
      simonmar authored
      - If the same module is defined in multiple "root" source files, then
        complain.  Before, the compiler would silently ignore one of them.
      
      - Remove some unuseed imports
      
      MERGE TO STABLE
      c79b5b17
    • simonmar's avatar
      [project @ 2002-08-27 09:34:20 by simonmar] · 15e6a5e4
      simonmar authored
      Fix a bug in the cleaning up of temporary files: we were wrongly
      cleaning the temporary pre-processed source files for stable modules,
      with the result that the compiler would panic the next time they were
      required.
      
      Reported ages ago by: Hal Duame.
      
      MERGE TO STABLE
      15e6a5e4
    • simonmar's avatar
      [project @ 2002-08-27 09:12:53 by simonmar] · b669d6d9
      simonmar authored
      Replace "Funny global thing" with a better error message, as suggested
      by Alastair Reid.  The message is:
      
        Warning: retaining unknown function `$_' in output from C compiler
      
      ("unknown function" is a bit vague, but I couldn't come up with an
      alternative that wasn't misleading).
      b669d6d9
  10. 23 Aug, 2002 1 commit
  11. 21 Aug, 2002 4 commits