From: Richard Henderson <richard.henderson@linaro.org>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: Re: [PATCH for-9.0] nanomips: fix warnings with GCC 14
Date: Mon, 8 Apr 2024 06:30:47 -1000 [thread overview]
Message-ID: <84e2d03a-f284-43ec-805c-3776fd3148fc@linaro.org> (raw)
In-Reply-To: <20240408142509.484027-1-pbonzini@redhat.com>
On 4/8/24 04:25, Paolo Bonzini wrote:
> GCC 14 shows -Wshadow=local warnings if an enum conflicts with a local
> variable (including a parameter). To avoid this, move the problematic
> enum and all of its dependencies after the hundreds of functions that
> have a parameter named "instruction".
>
> Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
> ---
> disas/nanomips.c | 194 +++++++++++++++++++++++------------------------
> 1 file changed, 97 insertions(+), 97 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
prev parent reply other threads:[~2024-04-08 16:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-08 14:25 [PATCH for-9.0] nanomips: fix warnings with GCC 14 Paolo Bonzini
2024-04-08 16:30 ` Richard Henderson [this message]
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=84e2d03a-f284-43ec-805c-3776fd3148fc@linaro.org \
--to=richard.henderson@linaro.org \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.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 NNTP newsgroup(s).