Finish zeroing out the current function status after building cdtor.
From-SVN: r162227
This commit is contained in:
parent
d2886bc744
commit
c5f77dcb78
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-07-15 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* cgraphunit.c (cgraph_build_static_cdtor): Clear current_function_decl
|
||||
when done.
|
||||
|
||||
2010-07-15 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* lto-symtab.c (lto_symtab_resolve_symbols): Remove hack handling comdats
|
||||
|
|
|
@ -2064,7 +2064,9 @@ cgraph_build_static_cdtor (char which, tree body, int priority)
|
|||
|
||||
cgraph_add_new_function (decl, false);
|
||||
cgraph_mark_needed_node (cgraph_node (decl));
|
||||
|
||||
set_cfun (NULL);
|
||||
current_function_decl = NULL;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Reference in a new issue