Re: [PATCH 5/9] target/sparc/translate: silence the compiler warnings

2020-10-28 Thread Philippe Mathieu-Daudé
On 10/28/20 5:18 AM, Chen Qun wrote: > When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: > target/sparc/translate.c: In function ‘gen_st_asi’: > target/sparc/translate.c:2320:12: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 2320 | if (

Re: [PATCH 5/9] target/sparc/translate: silence the compiler warnings

2020-10-27 Thread Artyom Tarasenko
ср, 28 окт. 2020 г., 5:19 Chen Qun : > When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed > warning: > target/sparc/translate.c: In function ‘gen_st_asi’: > target/sparc/translate.c:2320:12: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 2320 | if

[PATCH 5/9] target/sparc/translate: silence the compiler warnings

2020-10-27 Thread Chen Qun
When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: target/sparc/translate.c: In function ‘gen_st_asi’: target/sparc/translate.c:2320:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 2320 | if (!(dc->def->features & CPU_FEATURE_HYPV)) {