diff options
author | Martin Jambor <mjambor@suse.cz> | 2011-01-03 14:32:44 +0100 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2011-01-03 14:32:44 +0100 |
commit | 839d549b58592ddc44a188a6134b705bcfab7a8d (patch) | |
tree | 1e6b1a818c4f1ae767ed6a421b7d08e5519badb8 | |
parent | 2fa6eeff4bc0992a96c11b7bf1f81a98f1c91545 (diff) | |
download | gcc-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/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lto-cgraph.c | 2 |
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); } |