summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-03 13:32:44 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-03 13:32:44 +0000
commit783bc09c70b701dde890ccdd2a9d2ccb0d84ddc4 (patch)
tree1e6b1a818c4f1ae767ed6a421b7d08e5519badb8
parent4d5b22074f78bb9dc440396a644f38924230a357 (diff)
downloadgcc-783bc09c70b701dde890ccdd2a9d2ccb0d84ddc4.tar.gz
2011-01-03 Martin Jambor <mjambor@suse.cz>
* lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168424 138bc75d-0d04-0410-961f-82ee72b054a4
-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 477380f12b0..c7b037c1647 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 96697e4ecdc..b069602d2ed 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);
}