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-6728] Update on riscv -Wformat-diag string.
Date: Wed, 19 Jan 2022 09:34:08 +0000 (GMT)	[thread overview]
Message-ID: <20220119093408.E94EC385AC1F@sourceware.org> (raw)

https://gcc.gnu.org/g:fdf31ae25f66cd486e655d7ebda36826025b9d0e

commit r12-6728-gfdf31ae25f66cd486e655d7ebda36826025b9d0e
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Jan 19 10:32:13 2022 +0100

    Update on riscv -Wformat-diag string.
    
    gcc/ChangeLog:
    
            * config/riscv/riscv.cc (riscv_handle_type_attribute):
            Update one -Wformat-diag string in warning message.

Diff:
---
 gcc/config/riscv/riscv.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc
index 8314864d5e7..6885b4bbad2 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/config/riscv/riscv.cc
@@ -3309,8 +3309,8 @@ riscv_handle_type_attribute (tree *node ATTRIBUTE_UNUSED, tree name, tree args,
 	      && strcmp (string, "machine"))
 	    {
 	      warning (OPT_Wattributes,
-		       "argument to %qE attribute is not %<user%>, %<supervisor%>, "
-		       "or %<machine%>", name);
+		       "argument to %qE attribute is not %<\"user\"%>, %<\"supervisor\"%>, "
+		       "or %<\"machine\"%>", name);
 	      *no_add_attrs = true;
 	    }
 	}


                 reply	other threads:[~2022-01-19  9:34 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=20220119093408.E94EC385AC1F@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: link
Be 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).