From: Kaveh R. Ghazi Date: Sat, 6 Sep 2003 15:06:36 +0000 (+0000) Subject: ggc-common.c (init_ggc_heuristics): Don't use the heuristics when gc checking is... X-Git-Tag: releases/gcc-3.4.0~3867 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d85a0aae6d490c98756dee915631a41cc3bab370;p=thirdparty%2Fgcc.git ggc-common.c (init_ggc_heuristics): Don't use the heuristics when gc checking is enabled. * ggc-common.c (init_ggc_heuristics): Don't use the heuristics when gc checking is enabled. From-SVN: r71137 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d7e360d68fb..521a44a83409 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 a125b327f75b..5f0d11dd9ba5 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