Do we really want -pedantic in the testsuite? Seems we ought have it explicit when needed and not a default.
On Fri, Dec 5, 2025, 12:10 PM kargl at gcc dot gnu.org via Gcc-bugs < [email protected]> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123025 > > --- Comment #6 from Steve Kargl <kargl at gcc dot gnu.org> --- > (In reply to anlauf from comment #5) > > (In reply to Steve Kargl from comment #4) > > > > > > I have been testing the same patch! > > > > > > It causes 50-ish regressions in the testsuite due to -pedantic-errors > > > being added to 'dg-do run' without 'dg-options yada yada' > > > > Indeed, although I've seen only part of them yet... > > After a bit of *.exp reading, it seems adding > { dg-options "" } to the affected testcases will > suppress the -pedantic-errors option.
