ggc-page.c (ggc_pch_read): Wrap call to poison_pages in ENABLE_GC_CHECKING not in GGC_POISON.

* ggc-page.c (ggc_pch_read): Wrap call to poison_pages in
ENABLE_GC_CHECKING not in GGC_POISON.

From-SVN: r73135
This commit is contained in:
Richard Earnshaw 2003-10-31 11:22:32 +00:00 committed by Richard Earnshaw
parent 35a59bd56f
commit c5d6d04a1e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-10-31 Richard Earnshaw <rearnsha@arm.com>
* ggc-page.c (ggc_pch_read): Wrap call to poison_pages in
ENABLE_GC_CHECKING not in GGC_POISON.
2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
PR bootstrap/9863

View File

@ -2109,7 +2109,7 @@ ggc_pch_read (FILE *f, void *addr)
/* We've just read in a PCH file. So, every object that used to be
allocated is now free. */
clear_marks ();
#ifdef GGC_POISON
#ifdef ENABLE_GC_CHECKING
poison_pages ();
#endif