lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
authorMartin Jambor <mjambor@suse.cz>
Mon, 3 Jan 2011 13:32:44 +0000 (14:32 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 3 Jan 2011 13:32:44 +0000 (14:32 +0100)
2011-01-03  Martin Jambor  <mjambor@suse.cz>

* lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.

From-SVN: r168424

gcc/ChangeLog
gcc/lto-cgraph.c

index 477380f12b0c46dd7c26499dedfbaf2e35332ce5..c7b037c1647795d8bd02c424a844330df4afe45b 100644 (file)
@@ -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/
index 96697e4ecdcc8f331315ee9ca1849b98ddc77004..b069602d2ed282ebdfd05e92f74806637896bcbc 100644 (file)
@@ -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);
 }