I don't see the use of pedwarn_c23 and associated tests (error with -std=c23 -pedantic-errors, warning with -std=c23 -pedantic, no diagnostic with -std=c23 -pedantic-errors -Wno-c23-c2y-compat, no diagnostic with -std=c2y -pedantic-errors, warning with -std=c2y -pedantic-errors -Wc23-c2y-compat), previously discussed in comments on v13, that would be appropriate before considering this for inclusion with an appropriate substitution of names.
-- Joseph S. Myers josmy...@redhat.com