aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-01-25 17:48:32 +0100
committerMartin Liska <mliska@suse.cz>2021-01-25 17:49:24 +0100
commitd9ad3b422f00b27d3c1ebef2be5b4510b725d186 (patch)
tree30b52bd87e5e343f528c0879582be4ce4721f8e3 /gcc/value-prof.c
parent94ff4c9dd98f39280fba22d1ad0958fb25a5363b (diff)
downloadgcc-d9ad3b422f00b27d3c1ebef2be5b4510b725d186.zip
gcc-d9ad3b422f00b27d3c1ebef2be5b4510b725d186.tar.gz
gcc-d9ad3b422f00b27d3c1ebef2be5b4510b725d186.tar.bz2
Fix wrong format for fprintf.
gcc/ChangeLog: * value-prof.c (get_nth_most_common_value): Use %s instead of %qs string.
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 3e899a3..4274877 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -777,7 +777,7 @@ get_nth_most_common_value (gimple *stmt, const char *counter_type,
&& flag_profile_reproducible == PROFILE_REPRODUCIBILITY_PARALLEL_RUNS)
{
if (dump_file)
- fprintf (dump_file, "Histogram value dropped in %qs mode",
+ fprintf (dump_file, "Histogram value dropped in '%s' mode\n",
"-fprofile-reproducible=parallel-runs");
return false;
}
@@ -785,7 +785,7 @@ get_nth_most_common_value (gimple *stmt, const char *counter_type,
&& flag_profile_reproducible == PROFILE_REPRODUCIBILITY_MULTITHREADED)
{
if (dump_file)
- fprintf (dump_file, "Histogram value dropped in %qs mode",
+ fprintf (dump_file, "Histogram value dropped in '%s' mode\n",
"-fprofile-reproducible=multithreaded");
return false;
}