summaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-17 01:50:58 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-17 01:50:58 +0000
commit4b14adf9261480353cd1daf29f05d8a5854463ae (patch)
tree19f3b05e3307499375b5505155f8a904cbeed8e4 /gcc/cgraphunit.c
parent24ecf09e71ae1dd25c9f61da348334031497123d (diff)
downloadgcc-4b14adf9261480353cd1daf29f05d8a5854463ae.tar.gz
* cgraphunit.c (ipa_passes): Clear current_function_decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119979 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index a2475278325..83af8804c74 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -1363,6 +1363,7 @@ static void
ipa_passes (void)
{
cfun = NULL;
+ current_function_decl = NULL;
tree_register_cfg_hooks ();
bitmap_obstack_initialize (NULL);
execute_ipa_pass_list (all_ipa_passes);