https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119695
James K. Lowden <jklowden at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2025-05-19 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |jklowden at gcc dot gnu.org --- Comment #2 from James K. Lowden <jklowden at gcc dot gnu.org> --- > The ones mentioning 'z' are gettext fault, %zd/%zu is supported in > gcc-internal-format. gettext "15.3.1 C Format Strings" references POSIX, http://www.opengroup.org/onlinepubs/007904975/functions/fprintf.html which defines z and l as length modifiers. Are we sure z is not allowed? There are 55 examples of %zu in the COBOL FE, each one legitimate, typically the result sizeof or strlen() or size(). If they have to be removed, <shrug>, it can be done. But then please tell me which documentation I should rely on, and specifically if l is OK. The numeric specifiers will be removed. The only ones remaining were not discovered during testing during conversion to the diagnostics framework.