Commit f4744066 by Eric Botcazou Committed by Eric Botcazou

* gimple-pretty-print.c (dump_profile): Return "" instead of NULL.

From-SVN: r254513
parent 5666f12b
2017-11-07 Eric Botcazou <ebotcazou@adacore.com>
* gimple-pretty-print.c (dump_profile): Return "" instead of NULL.
2017-11-07 Jakub Jelinek <jakub@redhat.com>
PR target/82855
......@@ -86,7 +86,7 @@ dump_profile (profile_count &count)
{
char *buf;
if (!count.initialized_p ())
return NULL;
return "";
if (count.ipa_p ())
buf = xasprintf ("[count: %" PRId64 "]",
count.to_gcov_type ());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment