public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-6673] Fix -Wformat-diag for rs6000 target (part 1). Date: Tue, 18 Jan 2022 13:38:37 +0000 (GMT) [thread overview] Message-ID: <20220118133837.D6CD93858035@sourceware.org> (raw) https://gcc.gnu.org/g:8355f3188bfb01b7e4f0dc3110cc6aaff7ee791e commit r12-6673-g8355f3188bfb01b7e4f0dc3110cc6aaff7ee791e Author: Martin Liska <mliska@suse.cz> Date: Wed Jan 12 09:43:28 2022 +0100 Fix -Wformat-diag for rs6000 target (part 1). gcc/ChangeLog: * config/rs6000/rs6000-call.cc (rs6000_expand_builtin): Wrap keywords and use %qs instead of %<%s%>. Diff: --- gcc/config/rs6000/rs6000-call.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/rs6000/rs6000-call.cc b/gcc/config/rs6000/rs6000-call.cc index 8968929eccf..508f7c97ed8 100644 --- a/gcc/config/rs6000/rs6000-call.cc +++ b/gcc/config/rs6000/rs6000-call.cc @@ -5589,20 +5589,20 @@ rs6000_expand_builtin (tree exp, rtx target, rtx /* subtarget */, if (bif_is_nosoft (*bifaddr) && rs6000_isa_flags & OPTION_MASK_SOFT_FLOAT) { - error ("%<%s%> not supported with %<-msoft-float%>", + error ("%qs not supported with %<-msoft-float%>", bifaddr->bifname); return const0_rtx; } if (bif_is_no32bit (*bifaddr) && TARGET_32BIT) { - error ("%<%s%> is not supported in 32-bit mode", bifaddr->bifname); + error ("%qs is not supported in 32-bit mode", bifaddr->bifname); return const0_rtx; } if (bif_is_ibmld (*bifaddr) && !FLOAT128_2REG_P (TFmode)) { - error ("%<%s%> requires %<long double%> to be IBM 128-bit format", + error ("%qs requires %<long double%> to be IBM 128-bit format", bifaddr->bifname); return const0_rtx; }
reply other threads:[~2022-01-18 13:38 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220118133837.D6CD93858035@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).