aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorMartin Liška <mliska@suse.cz>2020-06-11 10:43:36 +0200
committerMartin Liska <mliska@suse.cz>2020-06-12 09:32:53 +0200
commit47fe96341d28ff9e68990038b1beb8a760ff26d0 (patch)
treeb0d4de7e957fb534d202d1afa1a9abf9faaecdf0 /gcc/cgraphunit.c
parent04f0546e3e468e67dcd8cd20265796887805de3e (diff)
downloadgcc-47fe96341d28ff9e68990038b1beb8a760ff26d0.zip
gcc-47fe96341d28ff9e68990038b1beb8a760ff26d0.tar.gz
gcc-47fe96341d28ff9e68990038b1beb8a760ff26d0.tar.bz2
Fix few -Wformat-diag warnings.
Ready for master? Thanks, Martin gcc/ChangeLog: * cgraphunit.c (process_symver_attribute): Wrap weakref keyword. * dbgcnt.c (dbg_cnt_set_limit_by_index): Do not print extra new line. * lto-wrapper.c (merge_and_complain): Wrap option names.
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 01b3f82..ea9a34b 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -762,7 +762,7 @@ process_symver_attribute (symtab_node *n)
if (n->weakref)
{
error_at (DECL_SOURCE_LOCATION (n->decl),
- "weakref cannot be versioned");
+ "%<weakref%> cannot be versioned");
return;
}
if (!TREE_PUBLIC (n->decl))