diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-19 13:28:32 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-19 13:28:32 +0000 |
commit | be3315261c6403549c63b1575a834ba33cc0c3b7 (patch) | |
tree | 94883eed5fa45d9df06c63e538d0eb38d7712fd3 /gcc/cgraphunit.c | |
parent | dc5d6d17a8d8aeb0b57f90a73aee2e59afb6006b (diff) | |
download | gcc-be3315261c6403549c63b1575a834ba33cc0c3b7.tar.gz |
* cgraphunit.c (cgraph_node::reset): Clear thunk info and
instrumented_version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232560 138bc75d-0d04-0410-961f-82ee72b054a4
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 2c49d7b0ac5..b95c172adbd 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 (); |