From: Mark Mitchell Date: Mon, 1 Nov 1999 01:46:29 +0000 (+0000) Subject: decl.c (finish_function): Call free_after_parsing for functions we are not immediatel... X-Git-Tag: prereleases/libstdc++-2.92~9775 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7faca78d60cf96984a5d35eea6bd70a7a81092d;p=thirdparty%2Fgcc.git decl.c (finish_function): Call free_after_parsing for functions we are not immediately turning into RTL. * decl.c (finish_function): Call free_after_parsing for functions we are not immediately turning into RTL. From-SVN: r30302 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 25dd23df1eca..eb67839a9cb9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1999-10-31 Mark Mitchell + + * decl.c (finish_function): Call free_after_parsing for functions + we are not immediately turning into RTL. + 1999-10-31 Brendan Kehoe * cp-tree.h (flag_dump_translation_unit): Add decl. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 0f9b5ab3ba81..14770e2fa4d5 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -13782,6 +13782,8 @@ finish_function (lineno, flags) } else { + /* Clear out memory we no longer need. */ + free_after_parsing (current_function); /* Since we never call rest_of_compilation, we never clear CURRENT_FUNCTION. Do so explicitly. */ free_after_compilation (current_function);