mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-09 12:07:22 +08:00
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:
parent
57a21fbd25
commit
f7faca78d6
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user