cvs commit: fptools/ghc/rts GC.c

Julian Seward sewardj@glass.cse.ogi.edu
Tue, 9 Oct 2001 08:35:23 -0700


sewardj     2001/10/09 08:35:23 PDT

  Modified files:        (Branch: ghc-5-02-branch)
    ghc/rts              GC.c 
  Log:
  merge rev 1.123:
  
    Fix a bug in the heap size calculation, where a negative result wasn't
    noticed because we're working with unsigned types.  We now explicitly
    test that the heap has enough room for the minimum allocation area
    size, otherwise a heap overflow is reported.
  
  Revision  Changes    Path
  1.121.4.2 +9 -1      fptools/ghc/rts/GC.c