summaryrefslogtreecommitdiffstats
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
parent24ecf09e71ae1dd25c9f61da348334031497123d (diff)
downloadppe42-gcc-4b14adf9261480353cd1daf29f05d8a5854463ae.tar.gz
ppe42-gcc-4b14adf9261480353cd1daf29f05d8a5854463ae.zip
* 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
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cgraphunit.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4dfea2241ef..3349ca493b2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-16 Jan Hubicka <jh@suse.cz>
+
+ * cgraphunit.c (ipa_passes): Clear current_function_decl.
+
2006-12-16 Andreas Tobler <a.tobler@schweiz.org>
* passes.c (verify_curr_properties): Define only for ENABLE_CHECKING.
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);
OpenPOWER on IntegriCloud