https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119768
Bug ID: 119768 Summary: FE: parsing PIC N and NAT is broken Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol Assignee: unassigned at gcc dot gnu.org Reporter: simonsobisch at gnu dot org Target Milestone: --- The sample program shows all of those issues: PROGRAM-ID. "NAT". DATA DIVISION. WORKING-STORAGE SECTION. 01 nat pic N(10). PROCEDURE DIVISION. DISPLAY nat GOBACK. nbug.cbl:4:23: error: invalid picture for Alphanumeric-edited 4 | 01 nat pic N(10). | ^ nbug.cbl:6:16: error: syntax error, unexpected NAT 6 | DISPLAY nat goback. | ^ I _think_ that's a parser only-issue, but for a compiler that targets COBOL2023 a quite severe one.