* cgraph.c (cgraph_release_function_body): Plug memory leak on
commit5737913a9a605694b55935563fc11e1e440b0351
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Sep 2008 12:41:36 +0000 (11 12:41 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Sep 2008 12:41:36 +0000 (11 12:41 +0000)
treefb9ef6a13039426828243cade216220f16250a8c
parenta4ed3c38182dc43cc106abc06a2f76465989eb3f
* cgraph.c (cgraph_release_function_body): Plug memory leak on
ipa_transforms_to_apply and CFG; ggc_free gimple df and struct function
so we are sure we do not dangle it forever.
* function.c (outer_function_chain, find_function_data): Remove.
(function_context_stack): New.
(push_function_context, pop_function_context): Update.
* function.h (struct function): Remove pointer outer.
(outer_function_chain, find_function_data): Remove.
* stmt.c (force_label_rtx): Remove dead call of find_function_data.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140285 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/function.c
gcc/function.h
gcc/stmt.c