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 ();