aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/ipa-inline.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ada4aa5..ee94e81 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2017-07-04 Martin Liska <mliska@suse.cz>
+
+ PR ipa/81293
+ * ipa-inline.c (inline_small_functions):
+ Use xstrdup_for_dump.
+
2017-07-04 Tom de Vries <tom@codesourcery.com>
* graph.c (draw_cfg_edges): Save and restore EDGE_DFS_BACK.
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
index fb20d37..3ec7fd1 100644
--- a/gcc/ipa-inline.c
+++ b/gcc/ipa-inline.c
@@ -2048,8 +2048,8 @@ inline_small_functions (void)
fprintf (dump_file,
" Inlined %s into %s which now has time %f and size %i, "
"net change of %+i.\n",
- edge->callee->name (),
- edge->caller->name (),
+ xstrdup_for_dump (edge->callee->name ()),
+ xstrdup_for_dump (edge->caller->name ()),
ipa_fn_summaries->get (edge->caller)->time.to_double (),
ipa_fn_summaries->get (edge->caller)->size,
overall_size - old_size);