1. 13 Jun, 2007 4 commits
    • Simon Marlow's avatar
      FIX #1418 (partially) · 23e5985c
      Simon Marlow authored
      When the con_desc field of an info table was made into a relative
      reference, this had the side effect of making the profiling fields
      (closure_desc and closure_type) also relative, but only when compiling
      via C, and the heap profiler was still treating them as absolute,
      leading to crashes when profiling with -hd or -hy.
      This patch fixes up the story to be consistent: these fields really
      should be relative (otherwise we couldn't make shared versions of the
      profiling libraries), so I've made them relative and fixed up the RTS
      to know about this.
    • Simon Marlow's avatar
    • Simon Marlow's avatar
      warning police · edb58a77
      Simon Marlow authored
    • Simon Marlow's avatar
      Use $(if...) to get lazy tests instead of if..endif in a few places · 45f860cb
      Simon Marlow authored
      This means it should be possible to set GhcUnregisterised=YES in
      build.mk and the rest of the settings should follow automatically
      (GhcWithNativeCodeGen, SplitObjs, GhcWithSMP).
  2. 12 Jun, 2007 1 commit
    • Ian Lynagh's avatar
      Tweak banner printing · cedd4187
      Ian Lynagh authored
      * -{short,long}-ghci-banner are now dynamic options, so you can put
        ":set -short-ghci-banner" in .ghci
      * The -v2 banner information now always tells you what compiler booted GHC,
        and what stage the compiler is. Thus we no longer assume that stage > 1
        iff GHCI is defined.
  3. 01 Jun, 2007 1 commit
  4. 09 Jun, 2007 4 commits
  5. 05 Jun, 2007 1 commit
  6. 04 Jun, 2007 2 commits
  7. 02 Jun, 2007 5 commits
  8. 01 Jun, 2007 5 commits
  9. 31 May, 2007 1 commit
    • Ian Lynagh's avatar
      Rework the build system a bit · 430453c5
      Ian Lynagh authored
      Key changes:
      * Always build as if BIN_DIST is 1. BIN_DIST is thus removed.
      * Libraries are configured with prefix set to $$topdir rather than $(prefix)
  10. 30 May, 2007 1 commit
  11. 12 Jun, 2007 3 commits
  12. 18 May, 2007 1 commit
  13. 09 Jun, 2007 1 commit
  14. 08 Jun, 2007 3 commits
    • andy@galois.com's avatar
    • chak@cse.unsw.edu.au.'s avatar
      Fix worker/wrapper ids for newtype instances · ef0ef4cc
      chak@cse.unsw.edu.au. authored
      - mkDataConIds forced an algebraic worker/wrapper on newtype instances (not
        on vanilla newtypes).  I am not sure where this came from (from code I
        wrote or from the recent restructuring of MkIds), but its not the right
        thing to do.  In particular, it requires newtype instances to have con_info
        labels in the generated code, which makes no sense.
      - Worker construction for newtypes is smart enough that it will construct the
        right signature for newtype instances (ie, one that mentions the family
        type constructor, not the instance tycon).
    • chak@cse.unsw.edu.au.'s avatar
      Fix deriving of indexed data types · 39dca315
      chak@cse.unsw.edu.au. authored
      - Fix typo introduced when moving deriving-specific code from TcEnv to TcDeriv
      - Thanks to Roman for the bug report
  15. 07 Jun, 2007 1 commit
  16. 06 Jun, 2007 3 commits
    • simonpj@microsoft.com's avatar
      Don't suggest -fno-monomorphism-restriction if it's already set · ffe3d0b6
      simonpj@microsoft.com authored
      This patch implements the suggestion in Trac #1398.  It's obviously
      stupid to suggest -fno-monomorphism-restriction if the user is already
      using it.  
      (Maybe another suggestion would be good, but this one clearly bogus.)
    • simonpj@microsoft.com's avatar
      Remove unnecessary free-variables from renamer · 3c4a732b
      simonpj@microsoft.com authored
      The renamer used to be responsible for making sure that all interfaces
      with instance decls (other than orphans) were loaded.  But TH makes that
      impossible, so the typechecker does it, via checkWiredInTyCon.
      This patch simply removes redundant additions to the free-variable set
      in the renamer, which were there, I believe, solely to ensure that the 
      instances came in.  Removing them should change nothing, but it's a 
      useful clean up.
    • simonpj@microsoft.com's avatar
      FIX #1385: make sure tuple instances are loaded · f750bec7
      simonpj@microsoft.com authored
      Typechecking of explicit tuples is done "by hand" (rather than using
      boxySplitTyConApp) so that rigidity is maintained.  In making that change
      I'd forgotten to retain the call to checkWiredInTyCon, which is important
      to make sure instances are brought into scope.
      Test is tc227.
  17. 05 Jun, 2007 3 commits