cgraphunit.c (cgraph_node::reset): Clear thunk info and instrumented_version.

* cgraphunit.c (cgraph_node::reset): Clear thunk info and
	instrumented_version.

From-SVN: r232560
This commit is contained in:
Jan Hubicka 2016-01-19 14:28:32 +01:00 committed by Jan Hubicka
parent 879c27e3a3
commit 756f4e9049
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2016-01-19 Jan Hubicka <hubicka@ucw.cz>
* cgraphunit.c (cgraph_node::reset): Clear thunk info and
instrumented_version.
2016-01-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/69336

View File

@ -366,12 +366,14 @@ cgraph_node::reset (void)
memset (&local, 0, sizeof (local));
memset (&global, 0, sizeof (global));
memset (&rtl, 0, sizeof (rtl));
memset (&thunk, 0, sizeof (cgraph_thunk_info));
analyzed = false;
definition = false;
alias = false;
transparent_alias = false;
weakref = false;
cpp_implicit_alias = false;
instrumented_version = NULL;
remove_callees ();
remove_all_references ();