1. 11 Jul, 2000 8 commits
  2. 07 Jul, 2000 5 commits
  3. 06 Jul, 2000 3 commits
    • keithw's avatar
      [project @ 2000-07-06 17:22:40 by keithw] · a75df25a
      keithw authored
      Fix obvious typo (pprStgARg for pprStgArg).  Clearly not a frequently-
      tickled part of the compiler!
    • simonpj's avatar
      [project @ 2000-07-06 16:31:45 by simonpj] · 525898a9
      simonpj authored
      * Improve the warning "M is imported but nothing from it is used"
        In particular, don't warn if some instances from it are imported.
        It's pretty much impossible to do the Right Thing always.
        A comment in Rename.lhs says
      	-- NOTE: Consider
      	--	      module This
      	--		import M ()
      	--	 The import M() is not *necessarily* redundant, even if
      	-- 	 we suck in no instance decls from M (e.g. it contains
      	--	 no instance decls, or This contains no code).  It may be
      	--	 that we import M solely to ensure that M's orphan instance
      	--	 decls (or those in its imports) are visible to people who
      	--	 import This.  Sigh.
      	--	 There's really no good way to detect this, so the error message
      	--	 in RnEnv.warnUnusedModules is weakened instead
      * Minor comment changes to RnIfaces.lhs
      * Use NameEnv instead of UFM in TcEnv (tidy up only)
    • simonmar's avatar
      [project @ 2000-07-06 14:08:31 by simonmar] · 5d42ac16
      simonmar authored
      New form of literal: MachLabel, for addresses of labels.  Used by
      foreign label instead of MachLitLit now.
      Real lit-lits now cause the NCG to panic.
      Also: removed CLitLit from AbsCSyn; it was only used in one place for
      a purpose it shouldn't have been used for in the first place.
  4. 05 Jul, 2000 1 commit
    • sewardj's avatar
      [project @ 2000-07-05 14:28:49 by sewardj] · dfedfb02
      sewardj authored
      Rename the marker used by Diff_Gcc_Nat.hs to ___ncg_debug_marker, to make
      it clear it has nothing to do with the usual object-splitting machinery.
      Improve Diff_Gcc_Nat:
      * Emit a warning, and stop, if there are no debug markers in the NCG code.
      * Handle .uahalf and .uaword, which appear in sparc assembly, but not x86.
  5. 04 Jul, 2000 1 commit
  6. 03 Jul, 2000 7 commits
  7. 02 Jul, 2000 2 commits
    • panne's avatar
      [project @ 2000-07-02 18:59:10 by panne] · 2a0ffd1c
      panne authored
      Don't use addr2Integer for large integral literals anymore, use a
      Horner schema with numbers in the Int range instead. This improves
      constant folding, so e.g.  (0x87654321 :: Word32) is evaluated at
      compile time now. In theory we can completely say Good-bye to
      addr2Integer, but for the time being it's still there. Feel free to
      nuke it...  >:-)
    • panne's avatar
      [project @ 2000-07-02 18:50:24 by panne] · d781517f
      panne authored
      Don't warn the user about integer overflow during constant folding
      anymore. It's not done at runtime either, and compilation of
      completely harmless things like
         ((124076834 :: Word32) + (2147483647 :: Word32))
      yielded a warning.
  8. 30 Jun, 2000 3 commits
    • panne's avatar
      [project @ 2000-06-30 18:38:03 by panne] · a4b4ad24
      panne authored
      Remove parentheses around C function/macros names. This is necessary
      because cpp does *not* replace e.g.
      (see PrimOps.h), heaven (or K&R) knows why. OK foreign importing
      macros is a hack, but GHC seems to depend on it.
    • simonpj's avatar
      [project @ 2000-06-30 13:11:07 by simonpj] · b0624daa
      simonpj authored
      In a CCall, a DynamicTarget has a unique that is
      used only to generate a uniquely-named typedef.
      It should not be used when comparing CCalls (e.g.
      when seeing if interface files have changed).
      So the main change in this commit is to fix the Eq
      instance for PrimOp.CCallTarget, but I took the
      opportunity to clean up the CCallTarget interface
      a little.
    • simonpj's avatar
      [project @ 2000-06-30 13:10:38 by simonpj] · 9282daea
      simonpj authored
      Improve error message
  9. 29 Jun, 2000 2 commits
  10. 28 Jun, 2000 5 commits
  11. 27 Jun, 2000 3 commits
    • lewie's avatar
      [project @ 2000-06-27 16:48:25 by lewie] · 365a3d9d
      lewie authored
      splitFunTy_maybe was making a special case of implicit params by
      returning Nothing on a type `noted' as an implicit param.  It shouldn't
      (my bad).  It's mostly used downstream of the type checker, where we don't
      care so much about the difference between implicit and explicit params.
      The right thing to do is just see thru the NoteTy (i.e. eliminate the
      special case for IPs).
      Please merge.
    • lewie's avatar
      [project @ 2000-06-27 16:36:00 by lewie] · 74f9d560
      lewie authored
      Cleaned out a handful of unused imports.
    • rrt's avatar
      [project @ 2000-06-27 13:45:30 by rrt] · 0f1041d2
      rrt authored
      Some initial notes on DLLs.