From: Jan Hubicka Date: Tue, 19 Jan 2016 13:28:32 +0000 (+0100) Subject: cgraphunit.c (cgraph_node::reset): Clear thunk info and instrumented_version. X-Git-Tag: basepoints/gcc-7~1501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=756f4e9049bb7739624a8ad7b2ff36f151a7a983;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4a90470e53e..3ea4d2ba93fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-01-19 Jan Hubicka + + * cgraphunit.c (cgraph_node::reset): Clear thunk info and + instrumented_version. + 2016-01-19 Richard Biener PR tree-optimization/69336 diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 2c49d7b0ac53..b95c172adbd8 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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 ();