* decl.c (start_cleanup_fn): Call pushdecl.

From-SVN: r31376
This commit is contained in:
Mark Mitchell 2000-01-13 02:04:25 +00:00 committed by Mark Mitchell
parent 24618f4902
commit 09ed39ad87
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

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