Re: [PATCH] c, v2: Implement C2Y N3355 - Named Loops [PR117022]

2024-10-15 Thread Joseph Myers
On Fri, 11 Oct 2024, Jakub Jelinek wrote: > On Fri, Oct 11, 2024 at 02:19:08PM +, Joseph Myers wrote: > > There should definitely be a test that -std=c23 -pedantic-errors gives > > errors for these constructs (I'd say also test that -std=c23 > > -pedantic-errors -Wno-c23-c2y-compat doesn't d

[PATCH] c, v2: Implement C2Y N3355 - Named Loops [PR117022]

2024-10-11 Thread Jakub Jelinek
On Fri, Oct 11, 2024 at 02:19:08PM +, Joseph Myers wrote: > There should definitely be a test that -std=c23 -pedantic-errors gives > errors for these constructs (I'd say also test that -std=c23 > -pedantic-errors -Wno-c23-c2y-compat doesn't diagnose them, while -std=c2y > -Wc23-c2y-compat do