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
This commit is contained in:
Kaveh R. Ghazi 2003-09-06 15:06:36 +00:00 committed by Kaveh Ghazi
parent 03845b47e6
commit d85a0aae6d
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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