aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-01-13 02:04:25 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-01-13 02:04:25 +0000
commit09ed39ad87a8537f7b8f70b133751715646c8160 (patch)
tree9f98f31eb88352a8dad3cbe85ce428c795586e88 /gcc
parent24618f4902530946552ac4707048b4abb5b43316 (diff)
downloadgcc-09ed39ad87a8537f7b8f70b133751715646c8160.zip
gcc-09ed39ad87a8537f7b8f70b133751715646c8160.tar.gz
gcc-09ed39ad87a8537f7b8f70b133751715646c8160.tar.bz2
* decl.c (start_cleanup_fn): Call pushdecl.
From-SVN: r31376
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/decl.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2813549..23cc450 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,7 @@
2000-01-12 Mark Mitchell <mark@codesourcery.com>
+ * 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 21792e0..935fd3a 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 ();