public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/rust/master] constexpr: Fix warning in sorry fmt string
Date: Mon, 29 Aug 2022 15:36:32 +0000 (GMT)	[thread overview]
Message-ID: <20220829153632.52AD8385781E@sourceware.org> (raw)

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

commit bcab5d906c580a17a44a5beffefaa806f4e75518
Author: Arthur Cohen <arthur.cohen@embecosm.com>
Date:   Fri Aug 26 11:06:54 2022 +0200

    constexpr: Fix warning in sorry fmt string

Diff:
---
 gcc/rust/backend/rust-constexpr.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/rust/backend/rust-constexpr.cc b/gcc/rust/backend/rust-constexpr.cc
index f2e3e51c4ab..203449ba906 100644
--- a/gcc/rust/backend/rust-constexpr.cc
+++ b/gcc/rust/backend/rust-constexpr.cc
@@ -1672,7 +1672,7 @@ eval_array_reference (const constexpr_ctx *ctx, tree t, bool lval,
      initializer, it's initialized from {}.  But use build_value_init
      directly for non-aggregates to avoid creating a garbage CONSTRUCTOR.  */
   tree val = NULL_TREE;
-  sorry ("array size expression is not supported yet.");
+  sorry ("array size expression is not supported yet");
 
   constexpr_ctx new_ctx;
   if (is_really_empty_class (elem_type, /*ignore_vptr*/ false))

                 reply	other threads:[~2022-08-29 15:36 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=20220829153632.52AD8385781E@sourceware.org \
    --to=tschwinge@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).