Re: [PATCH] c: Introduce -Wfree-labels

2024-11-18 Thread Eric Gallager
On Fri, Nov 15, 2024 at 3:12 PM Jakub Jelinek wrote: > > On Fri, Nov 15, 2024 at 08:13:28PM +0100, Florian Weimer wrote: > > * Andrew Pinski: > > > > > On Fri, Nov 15, 2024 at 9:13 AM Florian Weimer wrote: > > >> > > >> This is another recent GCC extension whose use is apparently > > >> difficult

Re: [PATCH] c: Introduce -Wfree-labels

2024-11-15 Thread Florian Weimer
* Jakub Jelinek: > On Fri, Nov 15, 2024 at 08:13:28PM +0100, Florian Weimer wrote: >> * Andrew Pinski: >> >> > On Fri, Nov 15, 2024 at 9:13 AM Florian Weimer wrote: >> >> >> >> This is another recent GCC extension whose use is apparently >> >> difficult to spot in code reviews. >> >> >> >> The n

Re: [PATCH] c: Introduce -Wfree-labels

2024-11-15 Thread Jakub Jelinek
On Fri, Nov 15, 2024 at 08:13:28PM +0100, Florian Weimer wrote: > * Andrew Pinski: > > > On Fri, Nov 15, 2024 at 9:13 AM Florian Weimer wrote: > >> > >> This is another recent GCC extension whose use is apparently > >> difficult to spot in code reviews. > >> > >> The name of the option is due to

Re: [PATCH] c: Introduce -Wfree-labels

2024-11-15 Thread Florian Weimer
* Andrew Pinski: > On Fri, Nov 15, 2024 at 9:13 AM Florian Weimer wrote: >> >> This is another recent GCC extension whose use is apparently >> difficult to spot in code reviews. >> >> The name of the option is due to Jonathan Wakely. Part of it >> could apply to C++ as well (for labels at the en

Re: [PATCH] c: Introduce -Wfree-labels

2024-11-15 Thread Andrew Pinski
On Fri, Nov 15, 2024 at 9:13 AM Florian Weimer wrote: > > This is another recent GCC extension whose use is apparently > difficult to spot in code reviews. > > The name of the option is due to Jonathan Wakely. Part of it > could apply to C++ as well (for labels at the end of a compound > statemen