]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cgraphunit.c (cgraph_node::reset): Clear thunk info and instrumented_version.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 19 Jan 2016 13:28:32 +0000 (14:28 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 19 Jan 2016 13:28:32 +0000 (13:28 +0000)
* cgraphunit.c (cgraph_node::reset): Clear thunk info and
instrumented_version.

From-SVN: r232560

gcc/ChangeLog
gcc/cgraphunit.c

index a4a90470e53e6b0c9efc8059f32b9523fc78cac5..3ea4d2ba93fc6e43fcf719c85fd9c01b81803143 100644 (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
index 2c49d7b0ac533d0e632566989229088e5503594f..b95c172adbd86da67fb021af08e7a7f354f00063 100644 (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 ();