From 47fe96341d28ff9e68990038b1beb8a760ff26d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Thu, 11 Jun 2020 10:43:36 +0200 Subject: 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. --- gcc/cgraphunit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cgraphunit.c') 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"); + "% cannot be versioned"); return; } if (!TREE_PUBLIC (n->decl)) -- cgit v1.1