diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-06 15:06:36 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-06 15:06:36 +0000 |
commit | 550744329ce97be0ff7fe03330266c915499bf24 (patch) | |
tree | 75c92958d6d8b2ac7c80feeecc9d9c522e682311 /gcc/ggc-common.c | |
parent | 1bfe282341a49c8d081475780c85d712ead89bcd (diff) | |
download | gcc-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/ggc-common.c')
-rw-r--r-- | gcc/ggc-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |