From 47e19316596b2db1f32cb678331f8fa705cdcf75 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Wed, 8 Sep 1999 06:33:29 +0000 Subject: [PATCH] decl.c (ggc_p): Set it to 1. * decl.c (ggc_p): Set it to 1. (mark_saved_scope): Add prototype. From-SVN: r29189 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/decl.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 55c4045..578202a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1999-09-07 Mark Mitchell + + * decl.c (ggc_p): Set it to 1. + (mark_saved_scope): Add prototype. + 1999-09-07 Richard Henderson * cp-tree.h (C_PROMOTING_INTEGER_TYPE_P): Delete. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index b5c5806..9278174 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -59,9 +59,9 @@ extern tree global_namespace; extern int (*valid_lang_attribute) PROTO ((tree, tree, tree, tree)); -/* Don't use garbage collection. */ +/* Use garbage collection. */ -int ggc_p = 0; +int ggc_p = 1; /* Obstack used for remembering local class declarations (like enums and static (const) members. */ @@ -204,6 +204,7 @@ static void push_cp_function_context PROTO((struct function *)); static void pop_cp_function_context PROTO((struct function *)); static void mark_binding_level PROTO((void *)); static void mark_cp_function_context PROTO((struct function *)); +static void mark_saved_scope PROTO((void *)); #if defined (DEBUG_CP_BINDING_LEVELS) static void indent PROTO((void)); -- 2.7.4