Commit ead8827d by Laurynas Biveinis Committed by Laurynas Biveinis

ggc-page.c (ggc_pch_read): Call validate_free_objects.

2007-09-01  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

	* ggc-page.c (ggc_pch_read): Call validate_free_objects.

From-SVN: r128023
parent 1c19c478
2007-09-01 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* ggc-page.c (ggc_pch_read): Call validate_free_objects.
2007-09-02 Joseph Myers <joseph@codesourcery.com>
PR middle-end/33272
......
......@@ -2243,6 +2243,9 @@ ggc_pch_read (FILE *f, void *addr)
#ifdef ENABLE_GC_CHECKING
poison_pages ();
#endif
/* Since we free all the allocated objects, the free list becomes
useless. Validate it now, which will also clear it. */
validate_free_objects();
/* No object read from a PCH file should ever be freed. So, set the
context depth to 1, and set the depth of all the currently-allocated
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment