diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-09 11:46:25 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-09 11:46:25 +0000 |
commit | 883554eb10ec811c13458b4153fe24da738f8e23 (patch) | |
tree | bd59306e865ec5d8977d9b28fa471840fefb7dca /gcc/lto-cgraph.c | |
parent | b0e7825e8224e344c8b099e3c635d9854ae04ff0 (diff) | |
download | gcc-883554eb10ec811c13458b4153fe24da738f8e23.tar.gz |
gcc/
2012-10-08 Tobias Burnus <burnus@net-b.de>
* lto-cgraph.c (input_node_opt_summary): Remove unused code.
* lto-opts.c (append_to_collect_gcc_options): Fix condition.
* lto-symtab.c (lto_cgraph_replace_node): Don't xstrdup string
which is passed to fprintf.
gcc/lto/
2012-10-08 Tobias Burnus <burnus@net-b.de>
* lto-lang.c (lto_register_builtin_type): Avoid useless
decl creation.
* lto-object.c (lto_obj_file_open, lto_obj_file_open): Free memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192250 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r-- | gcc/lto-cgraph.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c index 4f952f59bf9..b23f192e3bd 100644 --- a/gcc/lto-cgraph.c +++ b/gcc/lto-cgraph.c @@ -1517,14 +1517,9 @@ input_node_opt_summary (struct cgraph_node *node, count = streamer_read_uhwi (ib_main); for (i = 0; i < count; i++) { - int parm_num; - tree parm; struct ipa_replace_map *map = ggc_alloc_ipa_replace_map (); VEC_safe_push (ipa_replace_map_p, gc, node->clone.tree_map, map); - for (parm_num = 0, parm = DECL_ARGUMENTS (node->symbol.decl); parm_num; - parm = DECL_CHAIN (parm)) - parm_num --; map->parm_num = streamer_read_uhwi (ib_main); map->old_tree = NULL; map->new_tree = stream_read_tree (ib_main, data_in); |