On Sun, 11 May 2025, Alejandro Colomar wrote: > +/* { dg-options "-Wno-declaration-after-statement -Wno-pedantic -Wno-vla" } > */
> +/* { dg-options "-Wno-pedantic -Wvla-parameter" } */ > +/* { dg-options "-Wno-declaration-after-statement -Wno-pedantic -Wno-vla" } > */ Most of these options are suspect, considering they are the default. The main tests should use -std=c2y -pedantic-errors, except for any tests that specifically involve GNU extensions. Then there should be separate tests for the -pedantic handling for older C standard versions (-std=c23 -pedantic, -std=c23 -pedantic-errors, -std=c23 -pedantic-errors -Wno-c23-c2y-compat, -std=c2y -pedantic-errors -Wc23-c2y-compat). -- Joseph S. Myers josmy...@redhat.com