diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-01-19 14:28:32 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-01-19 13:28:32 +0000 |
commit | 756f4e9049bb7739624a8ad7b2ff36f151a7a983 (patch) | |
tree | 94883eed5fa45d9df06c63e538d0eb38d7712fd3 /gcc/cgraphunit.c | |
parent | 879c27e3a3fd424e17690514bd52a7ebc0c1976f (diff) | |
download | gcc-756f4e9049bb7739624a8ad7b2ff36f151a7a983.zip gcc-756f4e9049bb7739624a8ad7b2ff36f151a7a983.tar.gz gcc-756f4e9049bb7739624a8ad7b2ff36f151a7a983.tar.bz2 |
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
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 2c49d7b..b95c172 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 (); |