Commit 756f4e90 by Jan Hubicka Committed by Jan Hubicka

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
parent 879c27e3
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
......
......@@ -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 ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment