Re: [PATCH] target/sparc: Clean up global variable shadowing

2023-10-10 Thread Richard Henderson
On 10/9/23 02:24, Philippe Mathieu-Daudé wrote: Fix: target/sparc/translate.c:2823:66: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] static void gen_load_trap_state_at_tl(TCGv_ptr r_tsptr, TCGv_env tcg_env)

Re: [PATCH] target/sparc: Clean up global variable shadowing

2023-10-09 Thread Mark Cave-Ayland
On 09/10/2023 10:24, Philippe Mathieu-Daudé wrote: Fix: target/sparc/translate.c:2823:66: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] static void gen_load_trap_state_at_tl(TCGv_ptr r_tsptr, TCGv_env tcg_env)

[PATCH] target/sparc: Clean up global variable shadowing

2023-10-09 Thread Philippe Mathieu-Daudé
Fix: target/sparc/translate.c:2823:66: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] static void gen_load_trap_state_at_tl(TCGv_ptr r_tsptr, TCGv_env tcg_env) ^ include/tcg/tcg.h:579:17: note: