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
This commit is contained in:
Mark Mitchell 1999-11-01 01:46:29 +00:00 committed by Mark Mitchell
parent 57a21fbd25
commit f7faca78d6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-10-31 Mark Mitchell <mark@codesourcery.com>
* decl.c (finish_function): Call free_after_parsing for functions
we are not immediately turning into RTL.
1999-10-31 Brendan Kehoe <brendan@cygnus.com>
* cp-tree.h (flag_dump_translation_unit): Add decl.

View File

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