RE: [PATCH] target/ppc/excp_helper: Add a missing break for POWERPC_EXCP_HISI

2020-10-27 Thread Chenqun (kuhn)
ject: Re: [PATCH] target/ppc/excp_helper: Add a missing break for > POWERPC_EXCP_HISI > > On Wed, Oct 28, 2020 at 12:16:20PM +0800, Chen Qun wrote: > > When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed > warning: > > ../target/ppc/excp_helper.c: In function

Re: [PATCH] target/ppc/excp_helper: Add a missing break for POWERPC_EXCP_HISI

2020-10-27 Thread David Gibson
On Wed, Oct 28, 2020 at 12:16:20PM +0800, Chen Qun wrote: > When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: > ../target/ppc/excp_helper.c: In function ‘powerpc_excp’: > ../target/ppc/excp_helper.c:529:13: warning: this statement may fall through > [-Wimplicit-fallthro