aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2006-12-17 02:50:58 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2006-12-17 01:50:58 +0000
commit04b201a28abc8c3be44f4501366a9018ed2eef0a (patch)
tree19f3b05e3307499375b5505155f8a904cbeed8e4 /gcc
parent57b9cba5103e1d4ed085dc200a82e9d5917f09af (diff)
downloadgcc-04b201a28abc8c3be44f4501366a9018ed2eef0a.zip
gcc-04b201a28abc8c3be44f4501366a9018ed2eef0a.tar.gz
gcc-04b201a28abc8c3be44f4501366a9018ed2eef0a.tar.bz2
* cgraphunit.c (ipa_passes): Clear current_function_decl.
From-SVN: r119979
Diffstat (limited to 'gcc')
-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 4dfea22..3349ca4 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 a247527..83af880 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);