From 769ae3bb498556975d1280cc8ed79ad453a6d45a Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 21 Nov 2017 15:59:27 +0100 Subject: [PATCH] Remove not needed xstrdup_for_dump. 2017-11-21 Martin Liska * tree-inline.c (expand_call_inline): Remove not needed xstrdup_for_dump. From-SVN: r255005 --- gcc/ChangeLog | 5 +++++ gcc/tree-inline.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b4bf875595..35f06c5d3b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-11-21 Martin Liska + + * tree-inline.c (expand_call_inline): + Remove not needed xstrdup_for_dump. + 2017-11-21 James Cowgill Jakub Jelinek diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index c0dc7b9679f..2da1745ede4 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -4674,8 +4674,8 @@ expand_call_inline (basic_block bb, gimple *stmt, copy_body_data *id) if (dump_file && (dump_flags & TDF_DETAILS)) { fprintf (dump_file, "Inlining %s to %s with frequency %4.2f\n", - xstrdup_for_dump (id->src_node->dump_name ()), - xstrdup_for_dump (id->dst_node->dump_name ()), + id->src_node->dump_name (), + id->dst_node->dump_name (), cg_edge->sreal_frequency ().to_double ()); id->src_node->dump (dump_file); id->dst_node->dump (dump_file); -- 2.30.2