cvs commit: fptools/ghc/rts GC.c

Simon Marlow simonmar@glass.cse.ogi.edu
Mon, 1 Oct 2001 03:52:36 -0700


simonmar    2001/10/01 03:52:36 PDT

  Modified files:
    ghc/rts              GC.c 
  Log:
  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.123     +9 -1      fptools/ghc/rts/GC.c