Re: [PATCH] Remove unreachable returns

2021-11-29 Thread Richard Biener via Gcc-patches
On Sun, 28 Nov 2021, Jeff Law wrote: > > > On 11/25/2021 7:16 AM, Richard Biener via Gcc-patches wrote: > > This removes unreachable return statements as diagnosed by > > the -Wunreachable-code patch. Some cases are more obviously > > an improvement than others - in fact some may get you the id

Re: [PATCH] Remove unreachable returns

2021-11-28 Thread Jeff Law via Gcc-patches
On 11/25/2021 7:16 AM, Richard Biener via Gcc-patches wrote: This removes unreachable return statements as diagnosed by the -Wunreachable-code patch. Some cases are more obviously an improvement than others - in fact some may get you the idea to replace them with gcc_unreachable () instead, l

[PATCH] Remove unreachable returns

2021-11-25 Thread Richard Biener via Gcc-patches
This removes unreachable return statements as diagnosed by the -Wunreachable-code patch. Some cases are more obviously an improvement than others - in fact some may get you the idea to replace them with gcc_unreachable () instead, leading to cases of the 'Remove unreachable gcc_unreachable () at t