From 09ed39ad87a8537f7b8f70b133751715646c8160 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 13 Jan 2000 02:04:25 +0000 Subject: [PATCH] * decl.c (start_cleanup_fn): Call pushdecl. From-SVN: r31376 --- gcc/cp/ChangeLog | 2 ++ gcc/cp/decl.c | 1 + 2 files changed, 3 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 281354926ff..23cc4506498 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 2000-01-12 Mark Mitchell + * decl.c (start_cleanup_fn): Call pushdecl. + * call.c (convert_class_to_reference): Fix typos. (build_conditional_expr): Handle errors gracefully. * class.c (push_nested_class): Likewise. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 21792e0a487..935fd3acbb9 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -8026,6 +8026,7 @@ start_cleanup_fn () DECL_ARGUMENTS (fndecl) = parmdecl; } + pushdecl (fndecl); start_function (/*specs=*/NULL_TREE, fndecl, NULL_TREE, SF_PRE_PARSED); do_pushlevel (); -- 2.30.2