summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-31 11:22:32 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-31 11:22:32 +0000
commit32bbbaacf25952ce6b923c5299335156e512030e (patch)
tree483b1151dcd60604965562d101ba51a260302dc6 /gcc
parent4132ca368594b89894af6981df48d81311c0aac1 (diff)
downloadgcc-32bbbaacf25952ce6b923c5299335156e512030e.tar.gz
* ggc-page.c (ggc_pch_read): Wrap call to poison_pages in
ENABLE_GC_CHECKING not in GGC_POISON. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73135 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ggc-page.c2
2 files changed, 6 insertions, 1 deletions
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 <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
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