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

            Bug ID: 119638
           Summary: WRITE FROM x BEFORE Y raises compile error (SQ207M)
           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: ---

SQ207M.CBL:36:12: error:  is not a device name
   36 | 003600     FORMFEED                                                    
SQ2074.2
      |            ^
SQ207M.CBL:325:46: error: syntax error, unexpected end of file
  325 | 037300     WRITE PRINT-REC FROM BEFORE-MSG-1 BEFORE ADVANCING          
SQ2074.2
      |                                              ^
SQ207M.CBL:326:12: warning: could not resolve paragraph (or section)
'WRITE-TEST-LINE' at line 324
  326 | 037400              MNEMONIC-NAME.                                     
SQ2074.2
      |            ^
SQ207M.CBL:326:12: warning: SQ207M calls external symbol ':ambiguous:'
cobol1: error: failed compiling SQ207M.CBL

that mnemonic name and that strange external are other cases, but I leave
inspecting / opening bug reports for those to others.

Reply via email to