On Tue, May 27, 2025 at 11:15:14PM +0200, Alejandro Colomar wrote: > Oopsy! Sorry! Please fix, yep, it's a pasto. :)
Committed as obvious to trunk: 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. --- gcc/c/c-parser.cc.jj 2025-05-27 23:08:37.907727004 +0200 +++ gcc/c/c-parser.cc 2025-05-27 23:25:51.540844741 +0200 @@ -10651,7 +10651,7 @@ c_parser_sizeof_or_countof_expression (c 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++; Jakub