From: Martin Liska Date: Tue, 21 Nov 2017 14:59:27 +0000 (+0100) Subject: Remove not needed xstrdup_for_dump. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=769ae3bb498556975d1280cc8ed79ad453a6d45a;p=gcc.git 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 --- 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);