* cgraphunit.c (ipa_passes): Clear current_function_decl.

From-SVN: r119979
This commit is contained in:
Jan Hubicka 2006-12-17 02:50:58 +01:00 committed by Jan Hubicka
parent 57b9cba510
commit 04b201a28a
2 changed files with 5 additions and 0 deletions

View file

@ -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.

View file

@ -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);