1. 08 Jan, 2003 1 commit
    • simonmar's avatar
      [project @ 2003-01-08 10:10:19 by simonmar] · 3801775f
      simonmar authored
      Update the documentation on --make mode to indicate that multiple
      sources/modules can be given on the command line, as well as multiple
      object files.
  2. 07 Jan, 2003 5 commits
  3. 06 Jan, 2003 12 commits
    • simonpj's avatar
      [project @ 2003-01-06 15:30:14 by simonpj] · fcf37c94
      simonpj authored
      	Several small but tiresome things shown up by Template Haskell
      1. Make the 'knot' in TcRnDriver much smaller; in fact move it to
         TcIfaceSig.tcInterfaceSigs.  Reasons
      	a) much tidier
      	b) avoids a loop in Template Haskell, when we try to run
      	   an expression during type checking (when the knot is
      	   not fully tied)
         See comments in TcIfaceSig
      2. Stop typechecking if tcGroup fails.  Reason: otherwise tcLookup can
         fail in the next group.
      3. Catch linking errors more gracefully when running a splice (in TcSplice)
    • simonpj's avatar
      [project @ 2003-01-06 15:29:27 by simonpj] · 97ee3b24
      simonpj authored
      Small extra tc-trace
    • simonpj's avatar
      [project @ 2003-01-06 15:27:11 by simonpj] · b708d7d8
      simonpj authored
      Make HscMain.compileExpr run lint if -dcore-lint is on
    • simonpj's avatar
      [project @ 2003-01-06 15:26:09 by simonpj] · b6247d0d
      simonpj authored
      1.  Arrange that -ddump-tc-trace will print out the exception caught by tryTc
      2.  Make forkM a bit quieter, unless -ddump-tc-trace is on.
    • simonpj's avatar
      [project @ 2003-01-06 15:19:08 by simonpj] · 4eb50f71
      simonpj authored
    • simonpj's avatar
      [project @ 2003-01-06 15:18:48 by simonpj] · 019b29da
      simonpj authored
      dieWith uses ProgramError, not UsageError
    • simonpj's avatar
      [project @ 2003-01-06 15:17:57 by simonpj] · aef84dce
      simonpj authored
      	Try slightly more aggressive rule application
      Switch on AlwaysActive rules even in SimplGently.  This should
      make some TH programs a little better, but it's not a big deal.
    • simonpj's avatar
      [project @ 2003-01-06 15:16:33 by simonpj] · 392095c9
      simonpj authored
      	Make ModLocation have a FilePath
      	instead of (Maybe FilePath) for
      	the object-file location
      This generally tides things up, and makes ml_obj_file more like
      Furthermore the ml_obj_file field gets filled in even when we
      initially expect just an .hi file.  This is important for Template
    • simonmar's avatar
      [project @ 2003-01-06 14:40:04 by simonmar] · e26bfe83
      simonmar authored
      Disable the version check on the .hi file for --show-iface.  This
      means that it can be used on .hi files for other "ways" (eg. profiled)
      without having to resort to using the undocumented -buildtag option.
    • simonmar's avatar
      [project @ 2003-01-06 14:15:38 by simonmar] · 9490f5ce
      simonmar authored
      Add a handy hint for finding the correct fully-qualified original
      names for entities in .hi-boot files.
    • simonmar's avatar
      [project @ 2003-01-06 13:12:37 by simonmar] · e8812a63
      simonmar authored
      The FUN application code is wrong when entering a BCO, because the BCO
      entry code assumes a stack-only calling convention.  Use the PAP entry
      code instead, which also uses a stack-only convention.
    • simonmar's avatar
      [project @ 2003-01-06 13:11:26 by simonmar] · 4de89387
      simonmar authored
      Prefix a double-underscore to a variable in a macro, to avoid conflicts.
  4. 04 Jan, 2003 1 commit
  5. 27 Dec, 2002 5 commits
  6. 26 Dec, 2002 2 commits
  7. 23 Dec, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-12-23 11:02:15 by simonmar] · 0d7bfe8e
      simonmar authored
      Add the #includes from the rts package to the stub .c file.
      Prior to rev. 1.42, we used to add all the #includes from all enabled
      packages, together with any -#include options from the command-line.
      But since this is auto-generated code and we know exactly which
      #includes are required, this was overkill.
      In rev. 1.42, all #includes except RtsAPI.h were removed from the stub
      .c file.  This was incorrect, because the stub file refers to some
      entities defined in other RTS header files (the StgStablePtr type, and
      deRefStablePtr() for example).
      This change adds the header files from the rts package to the stub .c
      file, fixing some recent test breakages.
  8. 20 Dec, 2002 1 commit
  9. 19 Dec, 2002 12 commits
    • wolfgang's avatar
      [project @ 2002-12-19 18:43:53 by wolfgang] · 422fc0f1
      wolfgang authored
      Un-break for Mac OS X (handling of Apple's "frameworks")
    • panne's avatar
      [project @ 2002-12-19 18:02:13 by panne] · 7e4f1410
      panne authored
      Warning police (labels at end of compound statements are uncool, GCC says...)
    • panne's avatar
      [project @ 2002-12-19 18:00:42 by panne] · 04bfae04
      panne authored
      Use a less uncool way to avoid spurious warnings
    • panne's avatar
      [project @ 2002-12-19 17:57:39 by panne] · 5af1a666
      panne authored
      Fixed #ifdefery for GCC >= 3.x
    • simonmar's avatar
      [project @ 2002-12-19 15:12:01 by simonmar] · e5f943eb
      simonmar authored
      GHCi needs to link in packages eagerly if they're specified on the
      command line.
    • simonmar's avatar
      [project @ 2002-12-19 14:33:22 by simonmar] · 0d27d151
      simonmar authored
      Terrible hack to restore CAF handling behaviour in GHCi (it's
      currently broken).
      The story used to be this: in newCAF(), if the CAF is in dynamically
      loaded code, then we save the CAF's info ptr in a spare slot in the
      closure, and add the CAF to the caf_list.  The GC will retain
      everything on the caf_list.  At any point the CAFs can all be reverted
      by replacing their info pointers from the saved copies.
      CAFs need to be retained for GHCi because they might be required in a
      future execution; an optimisation would be to avoid retaining the CAFs
      if we're in "revert mode"; i.e. the CAFs are all going to be reverted
      after execution anyway.  Also, this only applies to CAFs in compiled
      code; CAFs in interpreted code are currently always retained.
      Anyway, the old story is harder now that I removed the code that
      checks whether a pointer is dynamically loaded or not (:-)).  Rather
      than re-instate that code, I created a new version of newCAF
      (newDynCAF), and arranged that the dynamic linker redirects any
      references to newCAF to point to newDynCAF instead.  The result is
      more efficient than before, and takes less code.
    • simonmar's avatar
      [project @ 2002-12-19 14:25:04 by simonmar] · ae131923
      simonmar authored
      Include a static version of deRefStablePtr in case the code that uses
      it was compiled without optimisation (and therefore doesn't get the
      inlined version).
    • simonmar's avatar
      [project @ 2002-12-19 14:23:35 by simonmar] · af09c6af
      simonmar authored
      comment wibble
    • simonmar's avatar
      [project @ 2002-12-19 12:49:27 by simonmar] · 7394408f
      simonmar authored
      Make this compile again
    • simonmar's avatar
      [project @ 2002-12-19 12:24:49 by simonmar] · 78f2d7dd
      simonmar authored
      Freshly generated by autoheader.
    • simonmar's avatar
      [project @ 2002-12-19 12:21:36 by simonmar] · 8d4e95a2
      simonmar authored
      Using AC_CHECK_FUNCS rather than AC_CHECK_FUNC seems to allow
      autoheader to pick up HAVE_LCHOWN.  Don't know why.
    • simonmar's avatar
      [project @ 2002-12-19 12:06:41 by simonmar] · 875b2a60
      simonmar authored
      - remove unused CODE_BEFORE_DATA
      - remove duplicate symbols
      - kill extra whitespace