diff options
Diffstat (limited to 'gcc/varpool.cc')
| -rw-r--r-- | gcc/varpool.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/varpool.cc b/gcc/varpool.cc index 976e0fa..8dc5f98 100644 --- a/gcc/varpool.cc +++ b/gcc/varpool.cc @@ -172,11 +172,7 @@ void varpool_node::remove (void) { symtab->call_varpool_removal_hooks (this); - if (lto_file_data) - { - lto_free_function_in_decl_state_for_node (this); - lto_file_data = NULL; - } + lto_free_function_in_decl_state_for_node (this); /* When streaming we can have multiple nodes associated with decl. */ if (symtab->state == LTO_STREAMING) |
