aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-08 06:33:29 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-08 06:33:29 +0000
commit47e19316596b2db1f32cb678331f8fa705cdcf75 (patch)
treedc587217c520acd9b7334c8094361ab272ee23f9 /gcc
parent3dd6c3afe3d89dee3515aa37005a125d1fe1c511 (diff)
downloadgcc-47e19316596b2db1f32cb678331f8fa705cdcf75.zip
gcc-47e19316596b2db1f32cb678331f8fa705cdcf75.tar.gz
gcc-47e19316596b2db1f32cb678331f8fa705cdcf75.tar.bz2
decl.c (ggc_p): Set it to 1.
* decl.c (ggc_p): Set it to 1. (mark_saved_scope): Add prototype. From-SVN: r29189
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/decl.c5
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 <mark@codesourcery.com>
+
+ * decl.c (ggc_p): Set it to 1.
+ (mark_saved_scope): Add prototype.
+
1999-09-07 Richard Henderson <rth@cygnus.com>
* 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));