* gimple-pretty-print.c (dump_profile): Return "" instead of NULL.
From-SVN: r254513
This commit is contained in:
parent
5666f12bba
commit
f47440662e
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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 ());
|
||||
|
|
Loading…
Add table
Reference in a new issue