From 1835f9efd2e8bac8a4a44497915f37f45144e932 Mon Sep 17 00:00:00 2001 From: Ziemowit Laski Date: Thu, 9 Sep 2004 00:48:27 +0000 Subject: [PATCH] cp-tree.h (do_poplevel): New prototype. [gcc/cp/ChangeLog] 2004-09-08 Ziemowit Laski * cp-tree.h (do_poplevel): New prototype. * semantics.c (do_poplevel): Make externally visible. From-SVN: r87215 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/cp-tree.h | 1 + gcc/cp/semantics.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6a00711a846..76c7de34428 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2004-09-08 Ziemowit Laski + + * cp-tree.h (do_poplevel): New prototype. + * semantics.c (do_poplevel): Make externally visible. + 2004-09-08 Nathan Sidwell * cp-tree.h (tree_pair_s): Define a GC'd vector. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 0204cc23ed7..0555883be1e 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -4089,6 +4089,7 @@ extern void pop_to_parent_deferring_access_checks (void); extern void perform_deferred_access_checks (void); extern void perform_or_defer_access_check (tree, tree); extern void init_cp_semantics (void); +extern tree do_poplevel (tree); extern void add_decl_expr (tree); extern tree finish_expr_stmt (tree); extern tree begin_if_stmt (void); diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index fe687a0f618..b31e1e2490e 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -384,7 +384,7 @@ anon_aggr_type_p (tree node) /* Finish a scope. */ -static tree +tree do_poplevel (tree stmt_list) { tree block = NULL; -- 2.30.2