[Bug cobol/120794] extra separator periods lead to syntax error

simonsobisch at gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 23 07:35:03 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120794

--- Comment #6 from Simon Sobisch <simonsobisch at gnu dot org> ---
Just checked with current master+cobol:

       IDENTIFICATION DIVISION.
       PROGRAM-ID. "bug".
       PROCEDURE DIVISION.
      *MAIN.
           .

that aborts only in gcobol (no matter if the paragraph is commented out or not)
while cobc (very old versions ignore that silently) and MF and IBM raise a
warning

warning: ignoring redundant .


More information about the Gcc-bugs mailing list