From: Jan Hubicka Date: Sun, 17 Dec 2006 01:50:58 +0000 (+0100) Subject: * cgraphunit.c (ipa_passes): Clear current_function_decl. X-Git-Tag: releases/gcc-4.3.0~7938 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04b201a28abc8c3be44f4501366a9018ed2eef0a;p=thirdparty%2Fgcc.git * cgraphunit.c (ipa_passes): Clear current_function_decl. From-SVN: r119979 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4dfea2241ef4..3349ca493b2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-12-16 Jan Hubicka + + * cgraphunit.c (ipa_passes): Clear current_function_decl. + 2006-12-16 Andreas Tobler * passes.c (verify_curr_properties): Define only for ENABLE_CHECKING. diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index a24752783257..83af8804c744 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);