aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-01-08 12:58:49 +0100
committerMartin Liska <marxin@gcc.gnu.org>2020-01-08 11:58:49 +0000
commitd597b9445f0fddae407914e1497e3422e46ed15d (patch)
treeeca33c20d02f460e963dffe846562b05ba4f6bd4 /gcc/lto
parent4dfa3251b5c88e7a5f135c8c97be4939f071e39b (diff)
downloadgcc-d597b9445f0fddae407914e1497e3422e46ed15d.zip
gcc-d597b9445f0fddae407914e1497e3422e46ed15d.tar.gz
gcc-d597b9445f0fddae407914e1497e3422e46ed15d.tar.bz2
Replace node->name/node->order with node->dump_name.
2020-01-08 Martin Liska <mliska@suse.cz> * ipa-fnsummary.c (dump_ipa_call_summary): Use symtab_node::dump_name. (ipa_call_context::estimate_size_and_time): Likewise. (inline_analyze_function): Likewise. 2020-01-08 Martin Liska <mliska@suse.cz> * lto-partition.c (lto_balanced_map): Use symtab_node::dump_name. From-SVN: r279999
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto-partition.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 74dea4b..233ac37 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,7 @@
+2020-01-08 Martin Liska <mliska@suse.cz>
+
+ * lto-partition.c (lto_balanced_map): Use symtab_node::dump_name.
+
2020-01-01 Jakub Jelinek <jakub@redhat.com>
Update copyright years.
diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c
index 86b2eab..5b153c9 100644
--- a/gcc/lto/lto-partition.c
+++ b/gcc/lto/lto-partition.c
@@ -734,10 +734,10 @@ lto_balanced_map (int n_lto_partitions, int max_partition_size)
best_varpool_pos = varpool_pos;
}
if (dump_file)
- fprintf (dump_file, "Step %i: added %s/%i, size %i, "
+ fprintf (dump_file, "Step %i: added %s, size %i, "
"cost %" PRId64 "/%" PRId64 " "
"best %" PRId64 "/%" PRId64", step %i\n", i,
- order[i]->name (), order[i]->order,
+ order[i]->dump_name (),
partition->insns, cost, internal,
best_cost, best_internal, best_i);
/* Partition is too large, unwind into step when best cost was reached and