https://gcc.gnu.org/g:e776687d0eb88bf180a3a91be4d24c4fe3163b78
commit r16-922-ge776687d0eb88bf180a3a91be4d24c4fe3163b78 Author: Jakub Jelinek <ja...@redhat.com> Date: Tue May 27 23:27:23 2025 +0200 c: Fix up a pasto in countof diagnostics [PR117025] The C23 in there looks like pasto, should be C2Y. 2025-05-27 Jakub Jelinek <ja...@redhat.com> PR c/117025 * c-parser.cc (c_parser_sizeof_or_countof_expression): Use C2Y rather than C23 in pedwarn_c23. Diff: --- gcc/c/c-parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/c/c-parser.cc b/gcc/c/c-parser.cc index 98a0c5632805..0d79f5832bff 100644 --- a/gcc/c/c-parser.cc +++ b/gcc/c/c-parser.cc @@ -10651,7 +10651,7 @@ c_parser_sizeof_or_countof_expression (c_parser *parser, enum rid rid) if (rid == RID_COUNTOF) pedwarn_c23 (start, OPT_Wpedantic, - "ISO C does not support %qs before C23", op_name); + "ISO C does not support %qs before C2Y", op_name); c_parser_consume_token (parser); c_inhibit_evaluation_warnings++;