diff options
author | Jan Hubicka <jh@suse.cz> | 2006-12-17 02:50:58 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2006-12-17 01:50:58 +0000 |
commit | 04b201a28abc8c3be44f4501366a9018ed2eef0a (patch) | |
tree | 19f3b05e3307499375b5505155f8a904cbeed8e4 /gcc | |
parent | 57b9cba5103e1d4ed085dc200a82e9d5917f09af (diff) | |
download | gcc-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/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cgraphunit.c | 1 |
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); |