Re: [PATCH v3 3/7] accel/tcg/user-exec: silence the compiler warnings

2020-11-16 Thread Alex Bennée
Chen Qun writes: > When using -Wimplicit-fallthrough in our CFLAGS on GCC9, the compiler showed > warning: > ../accel/tcg/user-exec.c: In function ‘handle_cpu_signal’: > ../accel/tcg/user-exec.c:169:13: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 169 |

[PATCH v3 3/7] accel/tcg/user-exec: silence the compiler warnings

2020-11-15 Thread Chen Qun
When using -Wimplicit-fallthrough in our CFLAGS on GCC9, the compiler showed warning: ../accel/tcg/user-exec.c: In function ‘handle_cpu_signal’: ../accel/tcg/user-exec.c:169:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 169 | cpu_exit_tb_from_sighandler(cpu,