aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-06-12 00:10:26 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-06-12 00:10:26 +0000
commitdf7f7b9c7686219e29f33e943b0f876f996d26ce (patch)
tree87da96dd33e690300579589e86f24f6d0d74888b /gcc/cp/cp-tree.h
parent04953ac98677c4d04510078e7637323fbe89ed79 (diff)
downloadgcc-df7f7b9c7686219e29f33e943b0f876f996d26ce.zip
gcc-df7f7b9c7686219e29f33e943b0f876f996d26ce.tar.gz
gcc-df7f7b9c7686219e29f33e943b0f876f996d26ce.tar.bz2
re PR c++/10432 (ICE in poplevel, at cp/decl.c:1230)
PR c++/10432 * cp-tree.h (finish_declarator): Remove. * decl.c (cp_finish_decl): Make sure to pop_nested_class even for erroneous declarations. * semantics.c (finish_declarator): Remove. PR c++/10432 * g++.dg/parse/error1.C: New test. From-SVN: r67804
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 4639e17..244eb1a 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -4118,7 +4118,6 @@ extern tree finish_unary_op_expr (enum tree_code, tree);
extern tree finish_compound_literal (tree, tree);
extern tree finish_fname (tree);
extern int begin_function_definition (tree, tree, tree);
-extern tree finish_declarator (tree, tree, tree, tree, int);
extern void finish_translation_unit (void);
extern tree finish_template_type_parm (tree, tree);
extern tree finish_template_template_parm (tree, tree);