From: Richard Earnshaw Date: Fri, 31 Oct 2003 11:22:32 +0000 (+0000) Subject: ggc-page.c (ggc_pch_read): Wrap call to poison_pages in ENABLE_GC_CHECKING not in... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5d6d04a1e772f17578f3e0fef802a4135dda9ad;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 529ddc83c6c..e28ecd5beec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-10-31 Richard Earnshaw + + * ggc-page.c (ggc_pch_read): Wrap call to poison_pages in + ENABLE_GC_CHECKING not in GGC_POISON. + 2003-10-31 Nathanael Nerode PR bootstrap/9863 diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 8f14664f1e1..12b1f17b265 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -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