aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/lto-cgraph.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 477380f..c7b037c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-03 Martin Jambor <mjambor@suse.cz>
+
+ * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
+
2010-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* tree-vect-generic.c (expand_vector_operations_1): When using vector/
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index 96697e4..b069602 100644
--- a/gcc/lto-cgraph.c
+++ b/gcc/lto-cgraph.c
@@ -1797,7 +1797,7 @@ input_cgraph_opt_section (struct lto_file_decl_data *file_data,
input_node_opt_summary (VEC_index (cgraph_node_ptr, nodes, ref),
&ib_main, data_in);
}
- lto_free_section_data (file_data, LTO_section_jump_functions, NULL, data,
+ lto_free_section_data (file_data, LTO_section_cgraph_opt_sum, NULL, data,
len);
lto_data_in_delete (data_in);
}