diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-30 21:34:35 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-30 21:34:35 +0000 |
commit | a690dc3233c203ee07fb847f7367173f47e0efd2 (patch) | |
tree | ce57d487e05cec03c2151c772f2cb79883c72c40 /gcc/cgraph.c | |
parent | b3987b8f4d71ebe80092f3e0d50eaac1fedd5141 (diff) | |
download | gcc-a690dc3233c203ee07fb847f7367173f47e0efd2.tar.gz |
PR middle-end/53136
* ipa-prop.c (ipa_print_node_jump_functions): Wrap multiple
calls to cgraph_node_name in xstrdup.
(ipa_make_edge_direct_to_target): Ditto.
* cgraph.c (dump_cgraph_node): Ditto.
* tree-sra.c (convert_callers_for_node): Ditto.
* lto-symtab.c (lto_cgraph_replace_node): Ditto.
* ipa-cp.c (perhaps_add_new_callers): Ditto.
* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Ditto.
(cgraph_materialize_all_clones): Ditto.
* ipa-inline.c (report_inline_failed_reason): Ditto.
(want_early_inline_function_p): Ditto.
(edge_badness): Ditto.
(update_edge_key): Ditto.
(flatten_function): Ditto.
(ipa_inline): Ditto.
(inlinw_always_inline_functions): Ditto.
(early_inline_small_functions): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187001 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index ebba1b767c7..c765b3179b5 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1476,9 +1476,9 @@ dump_cgraph_node (FILE *f, struct cgraph_node *node) if (node->global.inlined_to) fprintf (f, " Function %s/%i is inline copy in %s/%i\n", - cgraph_node_name (node), + xstrdup (cgraph_node_name (node)), node->symbol.order, - cgraph_node_name (node->global.inlined_to), + xstrdup (cgraph_node_name (node->global.inlined_to)), node->global.inlined_to->symbol.order); if (node->clone_of) fprintf (f, " Clone of %s/%i\n", |