This project is mirrored from Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 23 Jul, 2001 26 commits
    • ken's avatar
      [project @ 2001-07-23 23:08:04 by ken] · fb40b8b1
      ken authored
      Rearranged the usage help message to move --no-compile to the bottom.
      More importantly-- Fixed: hsc2hs was translating
          #def inline ... function(...) { ... }
      into (assuming defined(__GNUC__))
          [in the _hsc.h file:]  extern inline ... function(...)
          [in the _hsc.c file:]  inline ... function(...)
      while it should really be translated into
          [in the _hsc.h file:]  extern inline ... function(...)
          [in the _hsc.c file:]  ... function(...)
      (without the "inline" in the _hsc.c file).  Quoting the gcc documentation
      for "inline":
      >    If you specify both `inline' and `extern' in the function
      > definition, then the definition is used only for inlining.  In no case
      > is the function compiled on its own, not even if you refer to its
      > address explicitly.  Such an address becomes an external reference, as
      > if you had only declared the function, and had not defined it.
      >    This combination of `inline' and `extern' has almost the effect of a
      > macro.  The way to use it is to put a function definition in a header
      > file with these keywords, and put another copy of the definition
      > (lacking `inline' and `extern') in a library file.  The definition in
      > the header file will cause most calls to the function to be inlined.
      > If any uses of the function remain, they will refer to the single copy
      > in the library.
    • ken's avatar
      [project @ 2001-07-23 23:02:37 by ken] · 1a6d581f
      ken authored
      Added documentation for hsc2hs "--no-compile" option.
    • ken's avatar
      [project @ 2001-07-23 22:56:44 by ken] · b17b6a01
      ken authored
      Add the *.a.list "list of object files to archive" file
    • ken's avatar
      [project @ 2001-07-23 22:52:33 by ken] · e99733ff
      ken authored
      Improved how we build library archives:
      On Digital UNIX (or where otherwise available), use the "Z" option to
      compress archives as we build them.
      On Digital UNIX 5 (or where otherwise available), use the "-input" option,
      which reads from a specified file the list of objects to archive.  This is
      significantly faster than piping the list of objects to xargs when the
      number of objects to archive is large.
    • ken's avatar
      [project @ 2001-07-23 22:38:02 by ken] · 97e3db03
      ken authored
      Fixed: making dependencies for Haskell source files fails if -split-objs
      is present in $(HC_OPTS).
    • ken's avatar
      [project @ 2001-07-23 22:33:52 by ken] · 27d13cb6
      ken authored
      Added "--enable-hc-boot-unregisterised" option to configure,
      for bootstrapping from unregisterised HC files.
    • ken's avatar
      [project @ 2001-07-23 22:26:18 by ken] · 5f613352
      ken authored
      Teach to canonicalise new-fangled Alpha system names,
      such as alphaev67-dec-osf5.0, to alpha-dec-osf3.
    • ken's avatar
      [project @ 2001-07-23 22:22:58 by ken] · b123b6eb
      ken authored
      Added a helper script "fake-happy" that fakes "happy -v" output.
      It is useful for bootstrapping on new platforms.
    • ken's avatar
      [project @ 2001-07-23 22:19:59 by ken] · 52fe4859
      ken authored
      Grab the latest versions of config.guess and config.sub from GNU.
    • sof's avatar
      [project @ 2001-07-23 21:31:00 by sof] · b4d63035
      sof authored
      ranlib gmp/libgmp.a - needed for a.out plats (OpenBSD in particular).
    • sof's avatar
      [project @ 2001-07-23 20:19:53 by sof] · b7a226fd
      sof authored
      Handle leading underscores for PrelMain undefineds
    • sof's avatar
      [project @ 2001-07-23 18:25:48 by sof] · 42e2be6d
      sof authored
      Get rid off DEBUG - prev commit didn't attack the real problem
    • simonmar's avatar
      [project @ 2001-07-23 17:28:33 by simonmar] · d6a3df3d
      simonmar authored
      Back out change that tried to sneak in with the new garbage collector.
    • simonmar's avatar
      [project @ 2001-07-23 17:23:19 by simonmar] · dfd7d6d0
      simonmar authored
      Add a compacting garbage collector.
      It isn't enabled by default, as there are still a couple of problems:
      there's a fallback case I haven't implemented yet which means it will
      occasionally bomb out, and speed-wise it's quite a bit slower than the
      copying collector (about 1.8x slower).
      Until I can make it go faster, it'll only be useful when you're
      actually running low on real memory.
      '+RTS -c' to enable it.
      Oh, and I cleaned up a few things in the RTS while I was there, and
      fixed one or two possibly real bugs in the existing GC.
    • simonpj's avatar
      [project @ 2001-07-23 16:27:41 by simonpj] · 9528fa3e
      simonpj authored
    • sof's avatar
      [project @ 2001-07-23 16:16:47 by sof] · 5c408765
      sof authored
      Mismatched module name in non-DEBUG case
    • simonmar's avatar
      [project @ 2001-07-23 15:11:55 by simonmar] · 1fdd21b3
      simonmar authored
      Grrr.  Do not #include "Stg.h" in plain C code, because that enables
      all the global register variables.  #include "Rts.h" directly instead.
      This was correct in the original StgLongLong.c, why on earth it was
      changed is beyond me.
    • simonmar's avatar
      [project @ 2001-07-23 13:49:49 by simonmar] · 083e4450
      simonmar authored
      add a couple of missing ';'
    • qrczak's avatar
      [project @ 2001-07-23 11:44:15 by qrczak] · 8fe4dbdd
      qrczak authored
      import qualified Demand
    • simonpj's avatar
      [project @ 2001-07-23 10:54:46 by simonpj] · f6cd95ff
      simonpj authored
      	Switch to the new demand analyser
      This commit makes the new demand analyser the main beast,
      with the old strictness analyser as a backup.  When
      DEBUG is on, the old strictness analyser is run too, and the
      results compared.
      WARNING: this isn't thorougly tested yet, so expect glitches.
      Delay updating for a few days if the HEAD is mission critical
      for you.
      But do try it out.  I'm away for 2.5 weeks from Thursday, so
      it would be good to shake out any glaring bugs before then.
    • simonpj's avatar
      [project @ 2001-07-23 10:48:56 by simonpj] · 9c220935
      simonpj authored
      block/unblockAsynchExns have arity 2
    • simonmar's avatar
      [project @ 2001-07-23 10:47:16 by simonmar] · 6f83fbc0
      simonmar authored
      Small changes to improve GC performance slightly:
        - store the generation *number* in the block descriptor rather
          than a pointer to the generation structure, since the most
          common operation is to pull out the generation number, and
          it's one less indirection this way.
        - cache the generation number in the step structure too, which
          avoids an extra indirection in several places.
    • simonmar's avatar
      [project @ 2001-07-23 10:43:42 by simonmar] · 9a6296aa
      simonmar authored
      The real version of this file is in ghc/includes/.
    • simonmar's avatar
      [project @ 2001-07-23 10:43:18 by simonmar] · f94afcba
      simonmar authored
      merge in changes from rts/Linker.h
    • simonmar's avatar
      [project @ 2001-07-23 10:42:37 by simonmar] · c7d7f33a
      simonmar authored
      Small fixes to the help text for the -i heap profiling interval option.
    • simonpj's avatar
      [project @ 2001-07-23 10:24:57 by simonpj] · b20ad447
      simonpj authored
      Yet another newtype-squashing bug; this time TcType.unifyTyX
  2. 22 Jul, 2001 2 commits
    • chak's avatar
      [project @ 2001-07-22 03:28:25 by chak] · 6ea86573
      chak authored
      ELF_TARGET_386 has to be #defined for x86/Solaris.
    • chak's avatar
      [project @ 2001-07-22 03:19:51 by chak] · 02f8658b
      chak authored
      Solaris system headers contain function definitions (not just prototypes) for
      some functions; eg, stat().  WDP decided to toss (some of) them out during
      mangling.  I think, this is wrong, as the list of these functions changes with
      varying Solaris releases and it makes foreign importing these functions more
      complicated; in particular, it broke Directory.hsc and PosixFiles on
  3. 21 Jul, 2001 2 commits
  4. 20 Jul, 2001 8 commits
    • simonpj's avatar
      [project @ 2001-07-20 16:48:20 by simonpj] · 5d095cc1
      simonpj authored
      This commit adds the very convenient function
        Subst.substTyWith :: [TyVar] -> [Type] -> Type -> Type
      and uses it in various places.
    • simonpj's avatar
      [project @ 2001-07-20 16:47:55 by simonpj] · e3defabc
      simonpj authored
      	More newtype squashing
      Recursive newtypes were confusing the worker/wrapper generator.
      This is because I originally got rid of opaque newtypes altogether,
      then put them back for recursive ones only, and forgot to reinstate
      the cunning stuff in the w/w stuff.
      (Discovered by Sigbjorn; thanks!)
    • simonpj's avatar
      [project @ 2001-07-20 15:22:21 by simonpj] · 0fa26afe
      simonpj authored
      	Get rid of ArityAtLeast
      Now that we have CgInfo, with the exact code-generator arity
      for the value, we don't need the distinction between ArityAtLeast
      and ArityExactly in the ArityInfo field of an IdInfo.
      This commit makes
      	type ArityInfo = Maybe Arity
      and propagates this change consistently through the compiler.
    • simonpj's avatar
      [project @ 2001-07-20 10:09:32 by simonpj] · 738b84dc
      simonpj authored
      Third cut at the demand analyser; seems to work nicely now
    • simonpj's avatar
      [project @ 2001-07-20 10:08:56 by simonpj] · debd4f60
      simonpj authored
      	Hack around an infelicity in the simplifier
      Use 3 iterations of the simplifier (instead of the previous 2)
      because otherwise we land up with huge dead expressions.
      Reason: an infelicity in the simpifier.
            let k = BIG in foldr k z xs
       ==>  let k = BIG in letrec go = \xs -> ...(k x).... in go xs
       ==>  let k = BIG in letrec go = \xs -> ...(BIG x).... in go xs
       Don't stop now!
      I couldn't see an easy way to make the simplifier avoid this
      big intermediate, so I hacked round it like this.
    • simonpj's avatar
      [project @ 2001-07-20 10:05:37 by simonpj] · 98a74c9d
      simonpj authored
      	Correct a bug in exprArity
      This long-standing bug meant that exprArity gave over-pessimistic
      answers.  e.g.
      	\x -> f x
      where nothing is known about f.  We were getting
      	0 (for f)
      	-1 (for the argument)
      	+1 (for the lambda)
      The right answer is of course 1.
    • sof's avatar
      [project @ 2001-07-20 01:05:11 by sof] · 9d978426
      sof authored
      lookupSymbol (PEi386-only): When chasing down a label in a DLL, try
      removing the initial underscore (if any). I've prefixed the comment
      next to the change with the label 'HACK', as I'm not sure whether
      this is a name mangling operation you should always do when going
      from the import library name to the DLL-bound thing.
      (Julian, could you have a look?)
      Fixes probs with 'foreign import'ing DLL-bound symbols.
    • sof's avatar
      [project @ 2001-07-20 00:44:33 by sof] · ddb17caa
      sof authored
      Since longlong prims are no longer in the RTS, extend RTS_MINGW_ONLY_SYMBOLS with some reqd libgcc syms
  5. 19 Jul, 2001 2 commits