|
| From: | Richard Henderson |
| Subject: | Re: [PATCH for-9.0] nanomips: fix warnings with GCC 14 |
| Date: | Mon, 8 Apr 2024 06:30:47 -1000 |
| User-agent: | Mozilla Thunderbird |
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 in Thread] | Current Thread | [Next in Thread] |