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 + + * ggc-common.c (init_ggc_heuristics): Don't use the heuristics + when gc checking is enabled. + 2003-09-06 Steven Bosscher 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