summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-06 15:06:36 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-06 15:06:36 +0000
commit550744329ce97be0ff7fe03330266c915499bf24 (patch)
tree75c92958d6d8b2ac7c80feeecc9d9c522e682311 /gcc
parent1bfe282341a49c8d081475780c85d712ead89bcd (diff)
downloadgcc-550744329ce97be0ff7fe03330266c915499bf24.tar.gz
* ggc-common.c (init_ggc_heuristics): Don't use the heuristics
when gc checking is enabled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71137 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ggc-common.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8d7e360d68f..521a44a8340 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * ggc-common.c (init_ggc_heuristics): Don't use the heuristics
+ when gc checking is enabled.
+
2003-09-06 Steven Bosscher <steven@gcc.gnu.org>
PR c/9862
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index a125b327f75..5f0d11dd9ba 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -753,7 +753,7 @@ ggc_min_heapsize_heuristic (void)
void
init_ggc_heuristics (void)
{
-#ifndef ENABLE_GC_ALWAYS_COLLECT
+#if !defined ENABLE_GC_CHECKING && !defined ENABLE_GC_ALWAYS_COLLECT
set_param_value ("ggc-min-expand", ggc_min_expand_heuristic());
set_param_value ("ggc-min-heapsize", ggc_min_heapsize_heuristic());
#endif