aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2011-01-03 14:32:44 +0100
committerMartin Jambor <jamborm@gcc.gnu.org>2011-01-03 14:32:44 +0100
commit839d549b58592ddc44a188a6134b705bcfab7a8d (patch)
tree1e6b1a818c4f1ae767ed6a421b7d08e5519badb8
parent2fa6eeff4bc0992a96c11b7bf1f81a98f1c91545 (diff)
downloadgcc-839d549b58592ddc44a188a6134b705bcfab7a8d.zip
gcc-839d549b58592ddc44a188a6134b705bcfab7a8d.tar.gz
gcc-839d549b58592ddc44a188a6134b705bcfab7a8d.tar.bz2
lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
2011-01-03 Martin Jambor <mjambor@suse.cz> * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. From-SVN: r168424
-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);
}