commit | 207a2baa16bc27ba5ac5f75893e7adab80df3476 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Apr 08 16:10:40 2024 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Apr 08 21:21:48 2024 +0200 |
tree | f78cd6833f3c5f2a21ad8b01d8d27be10ccd617f | |
parent | d1ce2cc95b71f41860bdff6f81c333cec11eae80 [diff] |
nanomips: fix warnings with GCC 14 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". Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>