1. 29 Aug, 2002 4 commits
  2. 28 Aug, 2002 5 commits
  3. 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
  4. 23 Aug, 2002 1 commit
  5. 21 Aug, 2002 4 commits
  6. 20 Aug, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-08-20 10:32:48 by simonmar] · a4ac1436
      simonmar authored
      Fix a buglet in CorePrep:  an expression such as
      
      	case __coerce (\x -> e) :: T of { ... }
      
      would be left as is, but the lambda expression should really be
      abstracted as a let (causes a panic later in srtExpr; shown up by
      the dynamic001 test).  There was a missing call to deLam in the case
      for Case expressions in corePrepExprFloat.
      
      In addition, I made a new version of deLam, deLamFloat, which can
      float any bindings generated.  This helps to generate slightly cleaner
      code in the above case (the binding is floated out of the scrutinee).
      
      Also: GC unused imports while I'm here.
      a4ac1436
  7. 19 Aug, 2002 2 commits
  8. 16 Aug, 2002 5 commits
  9. 14 Aug, 2002 1 commit
  10. 13 Aug, 2002 1 commit
  11. 12 Aug, 2002 1 commit
  12. 09 Aug, 2002 4 commits
  13. 06 Aug, 2002 1 commit
  14. 05 Aug, 2002 3 commits
    • simonmar's avatar
      [project @ 2002-08-05 11:11:44 by simonmar] · d31d3e06
      simonmar authored
      - Update the old coding style document
      - Move it to the commentary under the "RTS & libs" section
      d31d3e06
    • simonmar's avatar
      [project @ 2002-08-05 10:11:03 by simonmar] · 3c5a4f17
      simonmar authored
      Overhaul the debugging flags.  The old bitfield mechanism was a bit
      silly, so now instead of writing -D129 (the one I use most) you can
      now write -DSs.  Each debugging option has a single character assigned
      to it, documented in the -? help text.
      3c5a4f17
    • simonmar's avatar
      [project @ 2002-08-05 09:18:27 by simonmar] · bb905676
      simonmar authored
      We have to turn off the buffering on stdout, stdin & stderr after
      every time we revert all CAFs, not just when starting up GHCi.
      
      MERGE TO STABLE
      bb905676
  15. 02 Aug, 2002 4 commits
    • simonmar's avatar
      [project @ 2002-08-02 13:08:33 by simonmar] · 259be9ef
      simonmar authored
      PrimRep Cleanup
      
         - Remove all PrimReps which were just different flavours of
           PtrRep.  Now, everything which is a pointer to a closure of
           some kind is always a PtrRep.
      
         - Three of the deleted PrimReps, namely ArrayRep, ByteArrayRep,
           and ForeignObj rep, had a subtle reason for their existence:
           the abstract C pretty-printer(!) used them to decide whether
           to apply a shim to an outgoing C-call argument: a ByteArrayRep
           argument would be adjusted to point past the object header,
           for example.
      
           I've changed this to happen in a much more reasonable and
           obvious way: there are now explict macros in AbsCSyn to do the
           adjustment, and the code generator makes calls to these as
           necessary.  Slightly less hackery is necessary in the NCG as
           a result.
      259be9ef
    • simonmar's avatar
      [project @ 2002-08-02 12:24:04 by simonmar] · 226413e1
      simonmar authored
      Pass -fno-builtin to gcc when compiling .hc files, because this avoids
      a common cause of running out of registers when foreign calls to
      functions like memcpy(), strlen() are made from Haskell.
      
      MERGE
      226413e1
    • simonmar's avatar
      [project @ 2002-08-02 11:17:15 by simonmar] · 801e81a7
      simonmar authored
      Remove out-of-date comment
      801e81a7
    • simonmar's avatar
      [project @ 2002-08-02 09:44:26 by simonmar] · 853e11c0
      simonmar authored
      Mention that --show-iface is needed for viewing interface files.
      853e11c0